alexa
menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class DrawerSettings

    Drawer settings class for customize the drawer

    Inheritance
    System.Object
    DrawerSettings
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Com.Syncfusion.Navigationdrawer
    Assembly: Syncfusion.SfNavigationDrawer.Android.dll
    Syntax
    public class DrawerSettings : Object, INotifyPropertyChanged

    Constructors

    DrawerSettings()

    Declaration
    public DrawerSettings()

    Properties

    AnimationDuration

    Gets or sets a value indicating whether a Duration for opening and closing the drawer.

    Declaration
    public long AnimationDuration { get; set; }
    Property Value
    Type
    System.Int64

    ContentBackgroundColor

    Gets or sets a value for drawer background color in Drawer.

    Declaration
    public Color ContentBackgroundColor { get; set; }
    Property Value
    Type
    Android.Graphics.Color

    DrawerContentView

    Gets or sets a value indicating whether a DrawerContentView for Drawer.

    Declaration
    public View DrawerContentView { get; set; }
    Property Value
    Type
    Android.Views.View

    DrawerFooterHeight

    Gets or sets a value indicating whether a DrawerFooterHeight in Drawer.

    Declaration
    public float DrawerFooterHeight { get; set; }
    Property Value
    Type
    System.Single

    DrawerFooterView

    Gets or sets a value indicating whether a DrawerFooterView in DrawerContent.

    Declaration
    public View DrawerFooterView { get; set; }
    Property Value
    Type
    Android.Views.View

    DrawerHeaderHeight

    Gets or sets a value indicating whether a DrawerHeaderHeight in Drawer.

    Declaration
    public float DrawerHeaderHeight { get; set; }
    Property Value
    Type
    System.Single

    DrawerHeaderView

    Gets or sets a value indicating whether a DrawerHeaderView in DrawerContent.

    Declaration
    public View DrawerHeaderView { get; set; }
    Property Value
    Type
    Android.Views.View

    DrawerHeight

    Gets or sets a value indicating whether a DrawerHeight in Drawer.

    Declaration
    public float DrawerHeight { get; set; }
    Property Value
    Type
    System.Single

    DrawerWidth

    Gets or sets a value indicating whether a DrawerWidth in Drawer.

    Declaration
    public float DrawerWidth { get; set; }
    Property Value
    Type
    System.Single

    EnableSwipeGesture

    Gets or sets a value indicating whether a swipe of the Drawer.

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

    IsOpen

    Gets or sets a value indicating whether a Open state for Drawer.

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

    Position

    Gets or sets a value indicating whether a position for Drawer.

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

    TouchThreshold

    Gets or sets a value indicating whether a threshold for swiping

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

    Transition

    Gets or sets a value indicating whether a transition for Drawer.

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

    Methods

    RaiseOnPropertyChanged(String)

    it is a raise method of property changed event

    Declaration
    protected virtual void RaiseOnPropertyChanged(string propertyName = null)
    Parameters
    Type Name Description
    System.String propertyName

    Property name

    Events

    PropertyChanged

    it is a property changed event

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved