Class DrawerLayout
It is a drawer layout class
Inheritance
Namespace: Com.Syncfusion.Navigationdrawer
Assembly: Syncfusion.SfNavigationDrawer.Android.dll
Syntax
public class DrawerLayout : LinearLayout
Constructors
DrawerLayout(Context, IAttributeSet, SfNavigationDrawer)
Initializes a new instance of the DrawerLayout class.
Declaration
public DrawerLayout(Context context, IAttributeSet attrs, SfNavigationDrawer slideDrawer)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The context argument |
Android.Util.IAttributeSet | attrs | The base variable |
SfNavigationDrawer | slideDrawer | The base slid drawer |
DrawerLayout(Context, SfNavigationDrawer)
Initializes a new instance of the DrawerLayout class.
Declaration
public DrawerLayout(Context context, SfNavigationDrawer slideDrawer)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The context |
SfNavigationDrawer | slideDrawer | The slid drawer |
DrawerLayout(Context, SfNavigationDrawer, Boolean)
Initializes a new instance of the DrawerLayout class.
Declaration
public DrawerLayout(Context context, SfNavigationDrawer slideDrawer, bool is_SecondaryDrawer)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The context |
SfNavigationDrawer | slideDrawer | The slid drawer |
System.Boolean | is_SecondaryDrawer | The boolean variable for secondary drawer or not |
Properties
ContentView
Gets or sets a value indicating whether a view property.
Declaration
public View ContentView { get; set; }
Property Value
Type |
---|
Android.Views.View |
Footer
Gets or sets a value indicating whether a view property.
Declaration
public View Footer { get; set; }
Property Value
Type |
---|
Android.Views.View |
Header
Gets or sets a value indicating whether a view property.
Declaration
public View Header { get; set; }
Property Value
Type |
---|
Android.Views.View |
Methods
DispatchTouchEvent(MotionEvent)
Its represent Dispatcher Touch Event
Declaration
public override bool DispatchTouchEvent(MotionEvent e)
Parameters
Type | Name | Description |
---|---|---|
Android.Views.MotionEvent | e | the DispatchTouchEvent |
Returns
Type | Description |
---|---|
System.Boolean | Its return boolean variable |
OnInterceptTouchEvent(MotionEvent)
Its is represent on intercept touch event
Declaration
public override bool OnInterceptTouchEvent(MotionEvent ev)
Parameters
Type | Name | Description |
---|---|---|
Android.Views.MotionEvent | ev | The intercept touch event argument |
Returns
Type | Description |
---|---|
System.Boolean | Its return boolean variable |
OnTouchEvent(MotionEvent)
Its is represent on touch event
Declaration
public override bool OnTouchEvent(MotionEvent e)
Parameters
Type | Name | Description |
---|---|---|
Android.Views.MotionEvent | e | The touch event argument e |
Returns
Type | Description |
---|---|
System.Boolean | Its return boolean variable |