DrawerBehavior Enum
Definition
Defines the behavior of the drawer pane.
public enum DrawerBehavior
Fields
| Name | Description |
|---|---|
| Auto | The drawer adapts its display mode based on the current Avalonia.Controls.DrawerLayoutBehavior. |
| Disabled | The drawer is hidden and cannot be opened. |
| Flyout | The drawer always opens as a flyout overlay, regardless of layout behavior. |
| Locked | The drawer is permanently open and cannot be closed. |
Auto Field
The drawer adapts its display mode based on the current Avalonia.Controls.DrawerLayoutBehavior.
public Avalonia.Controls.DrawerBehavior Auto
Disabled Field
The drawer is hidden and cannot be opened.
public Avalonia.Controls.DrawerBehavior Disabled
Flyout Field
The drawer always opens as a flyout overlay, regardless of layout behavior.
public Avalonia.Controls.DrawerBehavior Flyout
Locked Field
The drawer is permanently open and cannot be closed.
public Avalonia.Controls.DrawerBehavior Locked