I have a ListBox in a grid that gets data binding when the page loads ... pretty simple. The problem I am facing is that after the field is bound to the database, I can scroll ... but not all the way to the bottom of the list. He stops a point or two short and will no longer let me scroll. Here is the XAML list:
<Grid x:Name="ContentGrid" Grid.Row="2">
<ListBox x:Name="lbFeed" ItemsSource="{Binding Items}" SelectionChanged="lbFeed_SelectionChanged" VerticalAlignment="Top" Width="480">
<ListBox.ItemTemplate>
<DataTemplate x:Key="MyDataTemplate">
<StackPanel Orientation="Vertical" Width="430">
<TextBlock Text="Some text" TextAlignment="Center" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</Grid>
I can post more code, but I still get my feet wet in XAML, and I'm not sure what might cause this. If you need more context, let me know and I will add it here.
source
share