×

Discussion Board

Results 1 to 2 of 2

Hybrid View

  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    172

    horizontal list layout

    Dear All,
    I would like to have a horizontal list scrolling with images & text
    how to do it in windows phone 8
    (sample or example)

    please check attached image similar to
    list.png

    Regards
    Wael

  2. #2
    Nokia Developer Champion
    Join Date
    Sep 2012
    Location
    Morocco
    Posts
    292

    Re: horizontal list layout

    You need to change the orientation of the item template selector (ItemsPanelTemplate) to horizontal, as described below
    Code:
    <ListBox ScrollViewer.HorizontalScrollBarVisibility="Auto" ItemTemplate="{StaticResources YourTemplate}" >
        <ListBox.ItemsPanel>
            <ItemsPanelTemplate>
                <StackPanel Orientation="Horizontal" />
            </ItemsPanelTemplate>
        </ListBox.ItemsPanel>
    </ListBox>

Similar Threads

  1. QML List (Horizontal list) - flick to highlight next item
    By brian.egan in forum [Archived] Qt Quick
    Replies: 1
    Last Post: 2011-09-23, 13:19
  2. change widget size when vertical/horizontal layout applied
    By skyjun in forum [Archived] Beginning Qt
    Replies: 2
    Last Post: 2011-05-03, 05:14
  3. how to use a horizontal layout inside a vertical layout
    By fareenafatima in forum [Archived] Beginning Qt
    Replies: 3
    Last Post: 2011-02-02, 16:27
  4. Horizontal scrolling in list box
    By urrg in forum Symbian User Interface
    Replies: 1
    Last Post: 2010-02-04, 16:43
  5. Replies: 1
    Last Post: 2004-03-01, 08:37

Posting Permissions

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