1. WPCentral Question's Avatar
    I have a horizontal scrollable ListBox with Binding. A ListBox item: -Image -Text about image

    I would like to show, that I can scroll horizontally between images and I can scroll vertically on textblock.

    I try it this xaml code:

    <ListBox Name="lstB" ItemsSource="{Binding}" ScrollViewer.HorizontalScrollBarVisibility="Visible">
    <ListBoxItem>
    <VirtualizingStackPanel Orientation="Horizontal"/>
    </ListBoxItem>
    <ListBox.ItemTemplate>
    <DataTemplate>
    <StackPanel Orientation="Vertical">
    <Border BorderThickness="2" BorderBrush="Black" Height="300" Width="410">
    <Image Source="{Binding Url}"/>
    </Border>

    <TextBlock Text="{Binding Comment}" ScrollViewer.VerticalScrollBarVisibility="Visible"/>
    </StackPanel>
    </DataTemplate>
    </ListBox.ItemTemplate>
    </ListBox>
    12-22-2014 05:14 AM

Similar Threads

  1. Replies: 4
    Last Post: 12-24-2014, 01:36 PM
  2. Replies: 1
    Last Post: 12-23-2014, 02:16 PM
  3. Why can't I use Cortana with the Denim update?
    By Chirag Bokadia in forum Cortana
    Replies: 6
    Last Post: 12-23-2014, 10:26 AM
  4. List of WinRT windows phone 8.1 only apps
    By lovenokia in forum Windows Phone 8.1
    Replies: 0
    Last Post: 12-22-2014, 04:52 AM
  5. When should I charge my Lumia 1520?
    By Windows Central Question in forum Ask a Question
    Replies: 1
    Last Post: 12-22-2014, 04:36 AM
LINK TO POST COPIED TO CLIPBOARD