Class TreeViewColumnCollection
Represents the class for TreeView Column Collection.
Inheritance
System.Object
TreeViewColumnCollection
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class TreeViewColumnCollection : ObservableCollection<TreeViewColumn>
Constructors
TreeViewColumnCollection()
Declaration
public TreeViewColumnCollection()
Methods
ClearItems()
Removes all items from the collection.
Declaration
protected override void ClearItems()
InsertItem(Int32, TreeViewColumn)
Inserts the item.
Declaration
protected override void InsertItem(int index, TreeViewColumn column)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
TreeViewColumn | column | The column. |
MoveItem(Int32, Int32)
Moves the item at the specified index to a new location in the collection.
Declaration
protected override void MoveItem(int oldIndex, int newIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | oldIndex | The zero-based index specifying the location of the item to be moved. |
System.Int32 | newIndex | The zero-based index specifying the new location of the item. |
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Raises the System.Collections.ObjectModel.ObservableCollection`1.CollectionChanged event with the provided arguments.
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Specialized.NotifyCollectionChangedEventArgs | e | Arguments of the event being raised. |
RemoveItem(Int32)
Removes the item at the specified index of the collection.
Declaration
protected override void RemoveItem(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the element to remove. |
SetItem(Int32, TreeViewColumn)
Sets the item.
Declaration
protected override void SetItem(int index, TreeViewColumn column)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
TreeViewColumn | column | The column. |