Ejemplo n.º 1
0
        public void SetSystemDecorations(SystemDecorations value)
        {
            if (value == _decorated)
            {
                return;
            }

            UpdateWMStyles(() => _decorated = value);
        }
Ejemplo n.º 2
0
        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;
            }
        }
Ejemplo n.º 3
0
 public void SetSystemDecorations(SystemDecorations enabled)
 {
 }
Ejemplo n.º 4
0
 public AvaloniaWindowBuilder Decorations(SystemDecorations decorations)
 {
     this.decorations = decorations; return(this);
 }