'Declaration Public Property KeepCurrentVisible As System.Boolean
public System.bool KeepCurrentVisible {get; set;}
'Declaration Public Property KeepCurrentVisible As System.Boolean
public System.bool KeepCurrentVisible {get; set;}
This property applies only to bound mode. If KeepCurrentVisible is set to true, then the grid will automatically scroll to show the item that is selected in the Windows.UI.Xaml.Data.ICollectionView being used as an items source. The current selection may be set in code, or by selecting an item in another control that is bound to the same data source.
public MainPage() { InitializeComponent(); _flex..KeepCurrentVisible = true; } void Top_Click(object sender, RoutedEventArgs e) { _flex.CollectionView.MoveCurrentToFirst(); } void Bottom_Click(object sender, RoutedEventArgs e) { _flex.CollectionView.MoveCurrentToLast(); }