alexa
menu

Xamarin.Android

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

    Show / Hide Table of Contents

    Class DrawerContentView

    It is a drawer content view class

    Inheritance
    System.Object
    DrawerContentView
    Namespace: Com.Syncfusion.Navigationdrawer
    Assembly: Syncfusion.SfNavigationDrawer.Android.dll
    Syntax
    public class DrawerContentView : RelativeLayout

    Constructors

    DrawerContentView(Context)

    Initializes a new instance of the DrawerContentView class.

    Declaration
    public DrawerContentView(Context context)
    Parameters
    Type Name Description
    Android.Content.Context context

    The context

    DrawerContentView(Context, IAttributeSet)

    Initializes a new instance of the DrawerContentView class.

    Declaration
    public DrawerContentView(Context context, IAttributeSet attrs)
    Parameters
    Type Name Description
    Android.Content.Context context

    The context argument

    Android.Util.IAttributeSet attrs

    The base variable

    DrawerContentView(Context, Boolean)

    Initializes a new instance of the DrawerContentView class.

    Declaration
    public DrawerContentView(Context context, bool is_SecondaryDrawer)
    Parameters
    Type Name Description
    Android.Content.Context context

    The context

    System.Boolean is_SecondaryDrawer

    The boolean variable for secondary drawer or not

    Methods

    OnInterceptTouchEvent(MotionEvent)

    Its 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 represent on Touch Event

    Declaration
    public override bool OnTouchEvent(MotionEvent e)
    Parameters
    Type Name Description
    Android.Views.MotionEvent e

    The on touch boolean event

    Returns
    Type Description
    System.Boolean

    Its return boolean value

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