Class HeaderView
It is a header view class
Inheritance
System.Object
HeaderView
Namespace: Com.Syncfusion.Navigationdrawer
Assembly: Syncfusion.SfNavigationDrawer.Android.dll
Syntax
public class HeaderView : RelativeLayout
Constructors
HeaderView(Context)
Initializes a new instance of the HeaderView class.
Declaration
public HeaderView(Context context)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The HeaderView context |
HeaderView(Context, IAttributeSet)
Initializes a new instance of the HeaderView class.
Declaration
public HeaderView(Context context, IAttributeSet attrs)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The HeaderView context argument |
Android.Util.IAttributeSet | attrs | The base argument |
HeaderView(Context, IAttributeSet, Int32)
Initializes a new instance of the HeaderView class.
Declaration
public HeaderView(Context context, IAttributeSet attrs, int defStyleAttr)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The HeaderView context parameter |
Android.Util.IAttributeSet | attrs | The base parameter |
System.Int32 | defStyleAttr | The style variable |
HeaderView(Context, Boolean)
Initializes a new instance of the HeaderView class.
Declaration
public HeaderView(Context context, bool is_SecondaryDrawer)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The HeaderView context |
System.Boolean | is_SecondaryDrawer | The boolean variable for secondary drawer or not |
Methods
OnInterceptTouchEvent(MotionEvent)
Its is represent on intercept touch event operation
Declaration
public override bool OnInterceptTouchEvent(MotionEvent ev)
Parameters
Type | Name | Description |
---|---|---|
Android.Views.MotionEvent | ev | The Motion Event e |
Returns
Type | Description |
---|---|
System.Boolean | its returns boolean variable |
OnTouchEvent(MotionEvent)
Its is represent on touch event operation
Declaration
public override bool OnTouchEvent(MotionEvent e)
Parameters
Type | Name | Description |
---|---|---|
Android.Views.MotionEvent | e | touch event |
Returns
Type | Description |
---|---|
System.Boolean | its returns boolean variable |