Skip to main content

DrawerLayoutBehavior Enum

Definition​

Assembly:Avalonia.Controls
Package:Avalonia

Defines the layout behavior of the drawer page.

public enum DrawerLayoutBehavior

Inheritance: Enum -> DrawerLayoutBehavior

Fields​

NameDescription
CompactInlineA narrow rail strip is always visible; opening expands and pushes the detail content aside.
CompactOverlayA narrow rail strip is always visible; opening expands as an overlay over the detail content.
OverlayThe drawer overlays the detail content when open.
SplitThe drawer and detail content are shown side by side when open.

CompactInline Field​

A narrow rail strip is always visible; opening expands and pushes the detail content aside.

public Avalonia.Controls.DrawerLayoutBehavior CompactInline

CompactOverlay Field​

A narrow rail strip is always visible; opening expands as an overlay over the detail content.

public Avalonia.Controls.DrawerLayoutBehavior CompactOverlay

Overlay Field​

The drawer overlays the detail content when open.

public Avalonia.Controls.DrawerLayoutBehavior Overlay

Split Field​

The drawer and detail content are shown side by side when open.

public Avalonia.Controls.DrawerLayoutBehavior Split