Class TreeGridNestedView
Represents a class that provides the implementation of NestedView in SfTreeGrid.
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class TreeGridNestedView : TreeGridQueryableView, ITreeGridViewNotifier, IEditableCollectionView, IDisposable
Constructors
TreeGridNestedView(IEnumerable, SfTreeGrid)
Initializes a new instance of TreeGridNestedView class with the specified source and SfTreeGrid.
Declaration
public TreeGridNestedView(IEnumerable source, SfTreeGrid treeGrid)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | source | The source |
SfTreeGrid | treeGrid | The SfTreeGrid |
Methods
CreateItemPropertiesProvider()
Creates the item properties provider.
Declaration
protected override IPropertyAccessProvider CreateItemPropertiesProvider()
Returns
Type | Description |
---|---|
IPropertyAccessProvider | IPropertyAccessProvider. |
Overrides
OnChildCollectionChanged(Object, NotifyCollectionChangedEventArgs, TreeNode)
Raises when child collection changed.
Declaration
protected virtual void OnChildCollectionChanged(object sender, NotifyCollectionChangedEventArgs e, TreeNode treeNode)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | sender |
System.Collections.Specialized.NotifyCollectionChangedEventArgs | e | An System.Collections.Specialized.NotifyCollectionChangedEventArgs that contains the action which is performed |
TreeNode | treeNode | treeNode |
OnCollectionChanged(Object, NotifyCollectionChangedEventArgs)
Method which handles the collection changes.
Declaration
protected override void OnCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | sender. |
System.Collections.Specialized.NotifyCollectionChangedEventArgs | e | NotifyCollectionChangedEventArgs. |
Overrides
UpdateNodesOnPropertyChange(Object, PropertyChangedEventArgs, TreeNode)
Check TreeGridView on property changes and do the actions.
Declaration
protected override void UpdateNodesOnPropertyChange(object sender, PropertyChangedEventArgs e, TreeNode treeNode = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | updated record. |
System.ComponentModel.PropertyChangedEventArgs | e | PropertyChangedEventArgs. |
TreeNode | treeNode | Tree node. |
Overrides
Implements
System.IDisposable