Esempio n. 1
0
 private async void TabView_SelectionChanged(object sender, TabSelectionChangedEventArgs e)
 {
     if (sender is TabView tabView)
     {
         var tabViewItem = tabView.TabItems[e.NewPosition];
         await InitializeAsync(tabViewItem).ConfigureAwait(false);
     }
 }
 void OnTabViewSelectionChanged(object sender, TabSelectionChangedEventArgs e)
 {
     InfoEventsLabel.Text += $"SelectionChanged - OldPosition: {e.OldPosition}, NewPosition: {e.NewPosition} {Environment.NewLine}";
 }