Class SelectionController
A class that handles the selection related process and events.
Inheritance
System.Object
SelectionController
Implements
System.IDisposable
Namespace: Syncfusion.iOS.TreeView
Assembly: Syncfusion.SfTreeView.iOS.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 |
---|
SfTreeView |
Methods
AnimateSelectedItem(UIView, TreeViewItemInfoBase)
Provides the selected item's view to set the animation when selection is performed.
Declaration
protected virtual void AnimateSelectedItem(UIView selectedView, TreeViewItemInfoBase itemInfo)
Parameters
Type | Name | Description |
---|---|---|
UIKit.UIView | 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