FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DrawerBehavior

    enum · ferroui-controls · v0.5.0

    enum DrawerBehavior
    

    Defines the behavior of the drawer pane.

    View source

    Members

    Auto

    Auto = 0
    

    The drawer adapts its display mode based on the current drawer layout behavior.

    Source

    Flyout

    Flyout = 1
    

    The drawer always opens as a flyout overlay, regardless of layout behavior.

    Source

    Locked

    Locked = 2
    

    The drawer is permanently open and cannot be closed.

    Setting this value forces the IsOpen property of the drawer page to true.

    Source

    Disabled

    Disabled = 3
    

    The drawer is hidden and cannot be opened.

    Setting this value forces the IsOpen property of the drawer page to false. The Closing event of the drawer page is not raised.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.