Xamarin.Android

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SelectionController - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SelectionController

    A class that handles the selection related process and events.

    Inheritance
    System.Object
    SelectionController
    Implements
    System.IDisposable
    Namespace: Syncfusion.Android.TreeView
    Assembly: Syncfusion.SfTreeView.Android.dll
    Syntax
    public class SelectionController : Object, IDisposable

    Constructors

    SelectionController(SfTreeView)

    Initializes a new instance of the SelectionController class.

    Declaration
    public SelectionController(SfTreeView treeView)
    Parameters
    Type Name Description
    SfTreeView treeView

    The instance of SfTreeView.

    Fields

    TreeView

    Holds the instances of the SfTreeView.

    Declaration
    protected SfTreeView TreeView
    Field Value
    Type Description
    SfTreeView

    Methods

    AnimateSelectedItem(ViewGroup, TreeViewItemInfoBase)

    Provides the selected item's view to set the animation when selection is performed.

    Declaration
    protected virtual void AnimateSelectedItem(ViewGroup selectedView, TreeViewItemInfoBase itemInfo)
    Parameters
    Type Name Description
    Android.Views.ViewGroup selectedView

    Represents the selected item view.

    TreeViewItemInfoBase itemInfo

    Represents the selected item.

    Remarks

    If tree view's FullRowSelect option is enabled, TreeViewItem will be passed in the argument else content view will be passed.

    Dispose()

    Dispose all the allocated resources.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Dispose the instances, if parameter is true.

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

    Represents the boolean value for disposing objects.

    ProcessSelectedItemsCollectionChanged(NotifyCollectionChangedEventArgs)

    Handles the selected items collection changed to process the selection.

    Declaration
    protected virtual void ProcessSelectedItemsCollectionChanged(NotifyCollectionChangedEventArgs e)
    Parameters
    Type Name Description
    System.Collections.Specialized.NotifyCollectionChangedEventArgs e

    Represents the System.Collections.Specialized.NotifyCollectionChangedEventArgs.

    Implements

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