Class TreeViewItemInfoBase
Provides the information for TreeViewItem.
Implements
Namespace: Syncfusion.Maui.TreeView
Assembly: Syncfusion.Maui.TreeView.dll
Syntax
public class TreeViewItemInfoBase : Object, ITreeItemView
Constructors
TreeViewItemInfoBase()
Declaration
public TreeViewItemInfoBase()
Properties
Element
Gets the element of the TreeViewItem.
Declaration
public TreeViewItem Element { get; }
Property Value
Type |
---|
TreeViewItem |
IsSelectedItem
Gets a value indicating whether an TreeViewItem is selected or not.
Declaration
public bool IsSelectedItem { get; }
Property Value
Type |
---|
System.Boolean |
Node
Gets the data object of associated with TreeViewItem.
Declaration
public TreeViewNode Node { get; }
Property Value
Type |
---|
TreeViewNode |
TreeView
Gets the instance of SfTreeView.
Declaration
public SfTreeView TreeView { get; }
Property Value
Type |
---|
SfTreeView |
Methods
CalculateHeight()
Helper method to calculate the TreeViewItem height.
Declaration
public virtual double CalculateHeight()
Returns
Type | Description |
---|---|
System.Double | Returns the measured height of the node item. |