private static async void EnableView() { ViewEnabled = true; root.sv_root.IsEnabled = true; ShowDisablePanel.Stop(); HideDisablePanel.Begin(); await root.Dispatcher.Yield(); root.Focus(FocusState.Programmatic); }
private static async void EnableView() { ViewEnabled = true; root.sv_root.IsEnabled = true; root.manager.IsBackEnabled = true; root.manager.IsForwardEnabled = true; root.rp_Disable.Visibility = Visibility.Collapsed; await root.Dispatcher.Yield(); root.Focus(FocusState.Programmatic); }