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