Class TreeGridQueryableView
Represents a class that maintains the implementation of QueryableView in SfTreeGrid.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class TreeGridQueryableView : TreeGridView, ITreeGridViewNotifier, IEditableCollectionView, IDisposable
Constructors
TreeGridQueryableView(IEnumerable, SfTreeGrid)
Initializes a new instance of TreeGridQueryableView with the specified source and the SfTreeGrid.
Declaration
public TreeGridQueryableView(IEnumerable source, SfTreeGrid treeGrid)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | source | The source. |
SfTreeGrid | treeGrid | The sfTreeGrid. |
Properties
SortComparers
Gets the collection of comparer to sort the data based on custom logic .
Declaration
public override SortComparers SortComparers { get; }
Property Value
Type |
---|
SortComparers |
Overrides
Remarks
A comparer that are added to SortComparers collection to apply custom Sorting based on the specified column name and sort direction.
SortDescriptions
Gets the collection of SortColumnDescription objects to sort the data programmatically.
Declaration
public override SortColumnDescriptions SortDescriptions { get; }
Property Value
Type | Description |
---|---|
SortColumnDescriptions | The collection of SortColumnDescription object to sort the data programmatically.The default value is null. |
Overrides
TreeGrid
Gets or sets the SfTreeGrid.
Declaration
protected SfTreeGrid TreeGrid { get; set; }
Property Value
Type |
---|
SfTreeGrid |
Methods
AttachTreeView(Object)
Associates treeGrid in view.
Declaration
public override void AttachTreeView(object treeGrid)
Parameters
Type | Name | Description |
---|---|---|
System.Object | treeGrid |
Overrides
CreateItemPropertiesProvider()
Creates the item properties provider. Override this method to have return custom IPropertyAccessProvider and have customizations.
Declaration
protected override IPropertyAccessProvider CreateItemPropertiesProvider()
Returns
Type | Description |
---|---|
IPropertyAccessProvider | IPropertyAccessProvider. |
Overrides
DetachTreeView()
Detach the grid instance present in the view while disposing the view.
Declaration
public override void DetachTreeView()
Overrides
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. |