Xamarin.Android

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeViewItem - Xamarin.Android API Reference | Syncfusion SfTreeView control. ">

    Show / Hide Table of Contents

    Class TreeViewItem

    Represents a item of data in a SfTreeView control.

    Inheritance
    System.Object
    ContentView
    TreeViewItem
    Implements
    Android.Views.GestureDetector.IOnGestureListener
    Android.Runtime.IJavaObject
    System.IDisposable
    Inherited Members
    ContentView.OnDown(MotionEvent)
    ContentView.OnFling(MotionEvent, MotionEvent, Single, Single)
    ContentView.OnLongPress(MotionEvent)
    ContentView.OnScroll(MotionEvent, MotionEvent, Single, Single)
    ContentView.OnShowPress(MotionEvent)
    ContentView.OnSingleTapUp(MotionEvent)
    ContentView.OnTouchEvent(MotionEvent)
    ContentView.OnMeasure(Int32, Int32)
    Namespace: Syncfusion.Android.TreeView
    Assembly: Syncfusion.SfTreeView.Android.dll
    Syntax
    public class TreeViewItem : ContentView, GestureDetector.IOnGestureListener, IJavaObject, IDisposable

    Constructors

    TreeViewItem(Context)

    Initializes a new instance of the TreeViewItem class.

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

    Represent the Android.Content.Context of Android.Views.ViewGroup.

    Properties

    Clip

    Gets the clip rectangle of the TreeViewItem.

    Declaration
    public Rectangle Clip { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    Methods

    Dispose(Boolean)

    Dispose the instances, if parameter is true.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Represents the boolean value for disposing objects.

    Overrides
    ContentView.Dispose(Boolean)

    OnLayout(Boolean, Int32, Int32, Int32, Int32)

    Positions and sizes the children of the TreeViewItem.

    Declaration
    protected override void OnLayout(bool changed, int left, int top, int right, int bottom)
    Parameters
    Type Name Description
    System.Boolean changed

    Indicates whether the layout has changed or not.

    System.Int32 left

    The current extreme left position of the TreeViewItem.

    System.Int32 top

    The current top position of the TreeViewItem.

    System.Int32 right

    The current right extreme position of the TreeViewItem.

    System.Int32 bottom

    The current bottom position of the TreeViewItem.

    Overrides
    ContentView.OnLayout(Boolean, Int32, Int32, Int32, Int32)

    Implements

    Android.Views.GestureDetector.IOnGestureListener
    Android.Runtime.IJavaObject
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved