Class MainContentView
It is a main content view class
Inheritance
System.Object
MainContentView
Namespace: Com.Syncfusion.Navigationdrawer
Assembly: Syncfusion.SfNavigationDrawer.Android.dll
Syntax
public class MainContentView : RelativeLayout
Constructors
MainContentView(Context)
Initializes a new instance of the MainContentView class.
Declaration
public MainContentView(Context context)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The context |
MainContentView(Context, IAttributeSet)
Initializes a new instance of the MainContentView class.
Declaration
public MainContentView(Context context, IAttributeSet attrs)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The context argument |
Android.Util.IAttributeSet | attrs | The base argument |
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 | intercept touch event |
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 | The touch event e |
Returns
Type | Description |
---|---|
System.Boolean | its returns boolean variable |