Class ItemTemplateContextType
Describes the binding context type for SfTreeView items. Note: It will only be applicable in bound mode. For Unbound mode, TreeViewNode will be the binding context for each SfTreeView item.
Inheritance
System.Object
ItemTemplateContextType
Namespace: Syncfusion.Maui.TreeView
Assembly: Syncfusion.Maui.TreeView.dll
Syntax
public sealed class ItemTemplateContextType : Enum
Fields
Item
Specifies that the data model object will be the binding context for the treeview item.
Declaration
public const ItemTemplateContextType Item
Field Value
Type |
---|
ItemTemplateContextType |
Node
Specifies that the binding context for treeview item will be the TreeViewNode.
Declaration
public const ItemTemplateContextType Node
Field Value
Type |
---|
ItemTemplateContextType |