Show / Hide Table of Contents

    Class DrawerBox

    The native widget which provides the Box with Drawer.

    Inheritance
    System.Object
    DrawerBox
    FlyoutPage
    NavigationDrawer
    Namespace: Tizen.UIExtensions.ElmSharp
    Assembly: Tizen.UIExtensions.ElmSharp.dll
    Syntax
    public class DrawerBox : ElmSharp.Box

    Constructors

    DrawerBox(EvasObject)

    Declaration
    public DrawerBox(EvasObject parent)
    Parameters
    Type Name Description
    EvasObject parent

    Properties

    Content

    Gets or sets the content of the Content.

    Declaration
    public EvasObject? Content { get; set; }
    Property Value
    Type Description
    System.Nullable<EvasObject>

    The Content.

    DimArea

    Gets the box for dim area

    Declaration
    public ElmSharp.Box DimArea { get; }
    Property Value
    Type Description
    ElmSharp.Box

    The Content.

    Drawer

    Gets or sets the content of the Drawer.

    Declaration
    public EvasObject? Drawer { get; set; }
    Property Value
    Type Description
    System.Nullable<EvasObject>

    The Drawer.

    IsGestureEnabled

    Gets or sets a value indicating whether the Drawer can be opend by swipe gesture.

    Declaration
    public bool IsGestureEnabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the Drawer can be revealed with a gesture.

    IsOpen

    Gets or sets a value indicating whether the Drawer is shown.

    Declaration
    public bool IsOpen { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the Drawer is opened.

    IsSplit

    Gets or sets the DrawerBox is splited

    Declaration
    public bool IsSplit { get; set; }
    Property Value
    Type Description
    System.Boolean

    PopoverRatio

    Gets or sets the portion of the screen that the DrawerBox takes in Popover mode.

    Declaration
    public double PopoverRatio { get; set; }
    Property Value
    Type Description
    System.Double

    The portion.

    SplitRatio

    Gets or Sets the portion of the screen that the DrawerBox takes in split mode.

    Declaration
    public double SplitRatio { get; set; }
    Property Value
    Type Description
    System.Double

    The portion.

    Events

    Toggled

    Occurs when the Drawer is shown or hidden.

    Declaration
    public event EventHandler Toggled
    Event Type
    Type Description
    System.EventHandler

    Extension Methods

    ThemeManager.GetDrawerRatio(DrawerBox, Int32, Int32)
    ThemeManager.GetSplitRatio(DrawerBox)
    Back to top Copyright © 2021 Samsung
    Generated by DocFX