public void OnHandwritingSettings() { var mypane = new HandwritingSettingsFlyout { Width = SettingsWidth, Height = WindowBounds.Height }; SettingsPopup.Child = mypane; SettingsPopup.SetValue(Canvas.LeftProperty, SettingsPane.Edge == SettingsEdgeLocation.Right ? (WindowBounds.Width - SettingsWidth) : 0); SettingsPopup.SetValue(Canvas.TopProperty, 0); SettingsPopup.IsOpen = true; }
public void OnEditAutocorrectorList() { var mypane = new EditAutoCorrectorListFlyout { Width = SettingsWidth, Height = WindowBounds.Height }; SettingsPopup.Child = mypane; SettingsPopup.SetValue(Canvas.LeftProperty, SettingsPane.Edge == SettingsEdgeLocation.Right ? (WindowBounds.Width - SettingsWidth) : 0); SettingsPopup.SetValue(Canvas.TopProperty, 0); SettingsPopup.IsOpen = true; }