Class TreeGridUnboundView
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class TreeGridUnboundView : TreeGridView, ITreeGridViewNotifier, IEditableCollectionView, IDisposable
Constructors
TreeGridUnboundView(SfTreeGrid)
Declaration
public TreeGridUnboundView(SfTreeGrid treeGrid)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid |
Properties
SortComparers
Declaration
public override SortComparers SortComparers { get; }
Property Value
Type | Description |
---|---|
SortComparers |
Overrides
SortDescriptions
Declaration
public override SortColumnDescriptions SortDescriptions { get; }
Property Value
Type | Description |
---|---|
SortColumnDescriptions |
Overrides
TreeGrid
An instance of the SfTreeGrid class.
Declaration
protected SfTreeGrid TreeGrid { get; set; }
Property Value
Type | Description |
---|---|
SfTreeGrid |
Methods
AddNode(TreeNode, Object)
Add the data to the child collection of particular tree node.
Declaration
public void AddNode(TreeNode node, object data)
Parameters
Type | Name | Description |
---|---|---|
TreeNode | node | The parent node. this is null if root node needs to be added. |
System.Object | data | the data. |
AttachTreeView(Object)
Declaration
public override void AttachTreeView(object treeGrid)
Parameters
Type | Name | Description |
---|---|---|
System.Object | treeGrid |
Overrides
CreateItemPropertiesProvider()
Declaration
protected override IPropertyAccessProvider CreateItemPropertiesProvider()
Returns
Type | Description |
---|---|
IPropertyAccessProvider |
Overrides
DetachTreeView()
Declaration
public override void DetachTreeView()
Overrides
InsertNode(TreeNode, Object, Int32)
Insert the data into the child collection of particular tree node at the specified index.
Declaration
public void InsertNode(TreeNode node, object data, int index)
Parameters
Type | Name | Description |
---|---|---|
TreeNode | node | The parent node. this is null if root node needs to be inserted. |
System.Object | data | the data. |
System.Int32 | index | the index. |
MoveNode(TreeNode, Int32, Int32)
Moves the child node from an index to the another index in child nodes of particular tree node.
Declaration
protected override void MoveNode(TreeNode node, int oldStartingIndex, int newStartingIndex)
Parameters
Type | Name | Description |
---|---|---|
TreeNode | node | The parent node. this is null if root node needs to be moved. |
System.Int32 | oldStartingIndex | |
System.Int32 | newStartingIndex |
Overrides
RemoveNode(TreeNode, Object)
Remove the data from the child collection of particular tree node.
Declaration
protected override void RemoveNode(TreeNode node, object data)
Parameters
Type | Name | Description |
---|---|---|
TreeNode | node | The parent node. this is null if root node needs to be removed. |
System.Object | data | the data. |
Overrides
ReplaceNode(TreeNode, Object, Int32)
Replaces the node at specified index with the data in child nodes of the particular tree node.
Declaration
public void ReplaceNode(TreeNode node, object data, int index)
Parameters
Type | Name | Description |
---|---|---|
TreeNode | node | The parent node. this is null if root node needs to be replaced. |
System.Object | data | the data. |
System.Int32 | index | the index. |
ResetNodes(TreeNode)
Clear child nodes of the particular node.
Declaration
protected override void ResetNodes(TreeNode node)
Parameters
Type | Name | Description |
---|---|---|
TreeNode | node | The parent node. this is null if root nodes need to be cleared. |
Overrides
UpdateNodesOnPropertyChange(Object, PropertyChangedEventArgs, TreeNode)
Declaration
protected override void UpdateNodesOnPropertyChange(object sender, PropertyChangedEventArgs e, TreeNode treeNode = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
System.ComponentModel.PropertyChangedEventArgs | e | |
TreeNode | treeNode |