menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DrawerSettings - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DrawerSettings

    Drawer settings class for customize the drawer.

    Inheritance
    System.Object
    DrawerSettings
    Namespace: Syncfusion.Maui.NavigationDrawer
    Assembly: Syncfusion.Maui.NavigationDrawer.dll
    Syntax
    public class DrawerSettings : Element

    Constructors

    DrawerSettings()

    Initializes a new instance of the DrawerSettings class.

    Declaration
    public DrawerSettings()

    Fields

    ContentBackgroundProperty

    Identifies the ContentBackground bindable property.

    Declaration
    public static readonly BindableProperty ContentBackgroundProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for ContentBackground bindable property.

    DrawerContentViewProperty

    Identifies the DrawerContentView bindable property.

    Declaration
    public static readonly BindableProperty DrawerContentViewProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for DrawerContentView bindable property.

    DrawerFooterHeightProperty

    Identifies the DrawerFooterHeight bindable property.

    Declaration
    public static readonly BindableProperty DrawerFooterHeightProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for DrawerFooterHeight bindable property.

    DrawerFooterViewProperty

    Identifies the DrawerFooterView bindable property.

    Declaration
    public static readonly BindableProperty DrawerFooterViewProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for DrawerFooterView bindable property.

    DrawerHeaderHeightProperty

    Identifies the DrawerHeaderHeight bindable property.

    Declaration
    public static readonly BindableProperty DrawerHeaderHeightProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for DrawerHeaderHeight bindable property.

    DrawerHeaderViewProperty

    Identifies the DrawerHeaderView bindable property.

    Declaration
    public static readonly BindableProperty DrawerHeaderViewProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for DrawerHeaderView bindable property.

    DrawerHeightProperty

    Identifies the DrawerHeight bindable property.

    Declaration
    public static readonly BindableProperty DrawerHeightProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for DrawerHeight bindable property.

    DrawerWidthProperty

    Identifies the DrawerWidth bindable property.

    Declaration
    public static readonly BindableProperty DrawerWidthProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for DrawerWidth bindable property.

    DurationProperty

    Identifies the Duration bindable property.

    Declaration
    public static readonly BindableProperty DurationProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for Duration bindable property.

    EnableSwipeGestureProperty

    Identifies the EnableSwipeGesture bindable property.

    Declaration
    public static readonly BindableProperty EnableSwipeGestureProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for EnableSwipeGesture bindable property.

    PositionProperty

    Identifies the Position bindable property.

    Declaration
    public static readonly BindableProperty PositionProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for Position bindable property.

    TouchThresholdProperty

    Identifies the TouchThreshold bindable property.

    Declaration
    public static readonly BindableProperty TouchThresholdProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for TouchThreshold bindable property.

    TransitionProperty

    Identifies the Transition bindable property.

    Declaration
    public static readonly BindableProperty TransitionProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for Transition bindable property.

    Properties

    ContentBackground

    Gets or sets a value that can be used to customize the background color of the drawer.

    Declaration
    public Color ContentBackground { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    DrawerContentView

    Gets or sets the view that can be used to customize the drawer content view of SfNavigationDrawer.

    Declaration
    public View DrawerContentView { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.View

    DrawerFooterHeight

    Gets or sets a value that can be used to customize the navigation drawer's footer height.

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

    DrawerFooterView

    Gets or sets the view that can be used to customize the drawer footer view of SfNavigationDrawer.

    Declaration
    public View DrawerFooterView { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.View

    DrawerHeaderHeight

    Gets or sets a value that can be used to customize the navigation drawer's header height.

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

    DrawerHeaderView

    Gets or sets the view that can be used to customize the drawer header view of SfNavigationDrawer.

    Declaration
    public View DrawerHeaderView { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.View

    DrawerHeight

    Gets or sets a value that can be used to modify the drawer's height.

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

    DrawerWidth

    Gets or sets a value that can be used to modify the drawer's width.

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

    Duration

    Gets or sets a value that can be used to modify the animation duration of the drawer.

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

    EnableSwipeGesture

    Gets or sets a value indicating whether the swiping gesture to open the drawer is enabled or not.

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

    Position

    Gets or sets a value that can be used to customize the drawer's position.

    Declaration
    public Position Position { get; set; }
    Property Value
    Type
    Position

    TouchThreshold

    Gets or sets a value that can be used to modify the touch threshold of the drawer.

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

    Transition

    Gets or sets a value that can be used to modify the animation of the drawer.

    Declaration
    public Transition Transition { get; set; }
    Property Value
    Type
    Transition
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved