Class GridSelectedTreeNodes
A collection object that holds selected nodes in a GridTreeControl.
Implements
System.Collections.Generic.IEnumerable<GridTreeNode>
System.Collections.IEnumerable
System.ICloneable
System.Collections.Specialized.INotifyCollectionChanged
Inherited Members
Syncfusion.Windows.Controls.Grid.GridSelectedObjectsBase<Syncfusion.Windows.Controls.Grid.GridTreeNode>.GetEnumerator()
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridSelectedTreeNodes : GridSelectedObjectsBase<GridTreeNode>, IEnumerable<GridTreeNode>, IEnumerable, ICloneable, INotifyCollectionChanged
Constructors
GridSelectedTreeNodes(GridTreeControlImpl)
Declaration
public GridSelectedTreeNodes(GridTreeControlImpl owner)
Parameters
Type | Name | Description |
---|---|---|
GridTreeControlImpl | owner |
Methods
add_SelectedNodeChanging(GridTreeNodeCancelEventHandler)
Declaration
public void add_SelectedNodeChanging(GridTreeNodeCancelEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
GridTreeNodeCancelEventHandler | value |
OnSelectedNodesClearing()
Raised the SelectedNodesClearing event.
Declaration
protected bool OnSelectedNodesClearing()
Returns
Type | Description |
---|---|
System.Boolean | True if the collection should be cleared, false otherwise. |
OnSelectedObjectChanging(GridTreeNode, NotifyCollectionChangedAction)
Raises the SelectedNodeChanging event.
Declaration
protected override bool OnSelectedObjectChanging(GridTreeNode node, NotifyCollectionChangedAction action)
Parameters
Type | Name | Description |
---|---|---|
GridTreeNode | node | The object being selected or unselected. |
System.Collections.Specialized.NotifyCollectionChangedAction | action | The action being taken. |
Returns
Type | Description |
---|---|
System.Boolean | True if the action should be done to the object, false otherwise. |
Overrides
Syncfusion.Windows.Controls.Grid.GridSelectedObjectsBase<Syncfusion.Windows.Controls.Grid.GridTreeNode>.OnSelectedObjectChanging(Syncfusion.Windows.Controls.Grid.GridTreeNode, System.Collections.Specialized.NotifyCollectionChangedAction)
remove_SelectedNodeChanging(GridTreeNodeCancelEventHandler)
Declaration
public void remove_SelectedNodeChanging(GridTreeNodeCancelEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
GridTreeNodeCancelEventHandler | value |
Events
SelectedNodeChanging
A cancelable event that is raised just prior to the object being selected or unselected in the grid.
Declaration
public event GridTreeNodeCancelEventHandler SelectedNodeChanging
Event Type
Type |
---|
GridTreeNodeCancelEventHandler |
SelectedNodesClearing
A cancelable event raised prior to the collection being cleared.
Declaration
public event CancelEventHandler SelectedNodesClearing
Event Type
Type |
---|
System.ComponentModel.CancelEventHandler |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.ICloneable
System.Collections.Specialized.INotifyCollectionChanged