End of Grid been scrolled to?
In Silverlight
, is it possible to tell if a user has scrolled to the bottom of a DataGrid
?
This is like a Terms and Conditions screen, where for legal reasons I have to make sure the user has scrolled to the end of the list.
Standard grid:
<data:DataGrid x:Name="gridUsers" Grid.Row="1" ItemsSource="{Binding Data, ElementName=ReviewsDataSource}" AutoGenerateColumns="False" AlternatingRowBackground="LightCyan" Background="White" CanUserSortColumns="False" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"> <data:DataGrid.Columns> <data:DataGridTextColumn Header="LastName" Binding="{Binding Path=LastName}" MinWidth="100" /> <data:DataGridTextColumn Header="FirstName" Binding="{Binding Path=FirstName}" MaxWidth="200" Width="*" /> </data:DataGrid.Columns> </data:DataGrid>
Perhaps some event to see if the end position of the scrollbar has been reached?
Answers & Comments...
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog