예제 #1
0
 private void pivot_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if ((int)dynamicVM.UserDynamicType != pivot.SelectedIndex)
     {
         dynamicVM.UserDynamicType = (Api.User.DynamicAPI.UserDynamicType)pivot.SelectedIndex;
         dynamicVM.Refresh();
     }
 }
예제 #2
0
 private void RefreshContainer_RefreshRequested(Microsoft.UI.Xaml.Controls.RefreshContainer sender, Microsoft.UI.Xaml.Controls.RefreshRequestedEventArgs args)
 {
     dynamicVM.Refresh();
 }