private void PDFReadingControl_Loaded(object sender, RoutedEventArgs e) { if (ConfigurationManager.Instance.ConfigurationRecord.GUI_IsNovice) { GridRIGHT.Collapse(); } else { GridRIGHT.Restore(); } }
private void ReevaluateFullScreen() { if (ButtonFullScreen.IsChecked ?? false) { // Go full screen GridLEFT.Collapse(); GridRIGHT.Collapse(); pdf_renderer_control.PageZoom(PDFRendererControl.ZoomType.Zoom1Up); } else { // Revert GridLEFT.Restore(); GridRIGHT.Restore(); } }