×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    66

    listpicker can't scroll

    OLOR="red"][/COLOR]
    for (int i = 0; i < 10; i++)
    {
    StackPanel panel = new StackPanel();
    panel.Orientation = System.Windows.Controls.Orientation.Horizontal;
    TextBlock block = new TextBlock();
    block.Text = i.ToString();
    panel.Children.Add(block); //if i add item like this ,the lispick won't enter
    //fullmode . how to use scroll in listpicker under
    //normol mode
    this.listPicker1.Items.Add(panel);
    }

  2. #2
    Registered User
    Join Date
    Oct 2010
    Location
    Trivandrum ,Kerala
    Posts
    139

    Re: listpicker can't scroll

    sreerajvr

  3. #3
    Registered User
    Join Date
    Nov 2007
    Posts
    66

    Re: listpicker can't scroll

    i readed it

    i use my code
    and force to full screen. the program will crash
    this.listPicker1.ExpansionMode = ExpansionMode.FullScreenOnly; //if i add this ,the program crash

  4. #4
    Registered User
    Join Date
    Mar 2012
    Posts
    3

    Re: listpicker can't scroll

    Dear hsany,

    The expansionmode will work for fullscreen only if you have more than 5 elements in the list. Try adding more than 5 elements and you will get results as expected.

Similar Threads

  1. Replies: 1
    Last Post: 2012-01-04, 15:33
  2. How to get max value of scroll-bar
    By ashraf fawzy in forum Symbian User Interface
    Replies: 10
    Last Post: 2011-09-12, 07:41
  3. Replies: 5
    Last Post: 2011-02-03, 14:07
  4. scroll bar
    By ddhungry in forum Symbian User Interface
    Replies: 3
    Last Post: 2003-05-30, 14:17

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×