public void SetSystemDecorations(SystemDecorations value) { if (value == _decorated) { return; } UpdateWMStyles(() => _decorated = value); }
private void HandleFullscreenEvent(object sender, RoutedEventArgs e) { WrapPanel tabHeaders = tabs.FindChild <WrapPanel>(null); if (((FullscreenModeChangeEventArgs)e).Fullscreen) { menu.IsVisible = false; controlsPanel.IsVisible = false; tabHeaders.IsVisible = false; _systemDecorations = this.SystemDecorations; WindowState = WindowState.Maximized; Topmost = true; } else { menu.IsVisible = true; controlsPanel.IsVisible = true; tabHeaders.IsVisible = true; this.SystemDecorations = _systemDecorations; WindowState = WindowState.Normal; Topmost = false; } }
public void SetSystemDecorations(SystemDecorations enabled) { }
public AvaloniaWindowBuilder Decorations(SystemDecorations decorations) { this.decorations = decorations; return(this); }