DesktopSidePanelRefusal enum

Namespace Runic.Desktop in Runic.Desktop 0.23.0

public enum DesktopSidePanelRefusal

Why a side panel did not open or change.

Remarks

Open: a minor release may add values; handle an unknown value as DesktopSidePanelRefusal.Unsupported.

Values

Unsupported

Unsupported = 0

The presentation has no native window of its own to grow, or its host has no side panel: an installed browser, a custom window host (IDesktopWindowHostFactory, also WPF's RunicWebView), a hosted application's window (runic-host/1) or region, a surface that admits several clients, and, until its engine supports it, the Linux windows.

Maximized

Maximized = 1

The window is maximized; widening it would leave the screen.

FullScreen

FullScreen = 2

The window is full-screen or a kiosk.

Snapped

Snapped = 3

The desktop arranged the window against a screen edge or in a layout (DesktopWindowState.IsSnapped).

Minimized

Minimized = 4

The window is minimized or hidden.

NoRoom

NoRoom = 5

The window's visible frame, grown by the panel, would leave its monitor's work area, or the panel is wider than half of it. The window is not moved to make room, since its page would move on the screen.

PositionUnavailable

PositionUnavailable = 6

The left edge needs the window to move, and the platform lets no application position its windows (Wayland).

AlreadyOpen

AlreadyOpen = 7

The window already shows a side panel (DesktopWindow.SidePanel).

LoadFailed

LoadFailed = 8

The panel's page did not load within DesktopSidePanelOptions.LoadTimeout, or failed to load.

Closed

Closed = 9

The window, or the panel asked to change, closed while the request ran. A window or panel that was closed before the call still throws ObjectDisposedException.