Skip to main content

TreeDataGridColumns Class

Definition​

Assembly:Avalonia.Controls.TreeDataGrid
Package:Avalonia.Controls.TreeDataGrid

Represents a collection of columns in a Avalonia.Controls.TreeDataGrid.

public class TreeDataGridColumns

Inheritance: Collection<TreeDataGridColumn> -> TreeDataGridColumns

Implements: IEnumerable<TreeDataGridColumn>, IReadOnlyCollection<TreeDataGridColumn>, IReadOnlyList<TreeDataGridColumn>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Constructors​

NameDescription
TreeDataGridColumnsNo summary available.

TreeDataGridColumns Constructor​

public TreeDataGridColumns()

Methods​

NameDescription
AddRangeNo summary available.
MoveMoves the column at the specified index to a new location in the collection.

AddRange Method​

public void AddRange(System.Collections.Generic.IEnumerable<Avalonia.Controls.TreeDataGridColumn> items)

Parameters​

items System.Collections.Generic.IEnumerable<Avalonia.Controls.TreeDataGridColumn>

Move Method​

Moves the column at the specified index to a new location in the collection.

public void Move(int oldIndex, int newIndex)

Parameters​

oldIndex int

The zero-based index of the column to move.

newIndex int

The zero-based index specifying the new location of the column.

Remarks​

Raises a single System.Collections.Specialized.NotifyCollectionChangedAction.Move collection change notification. Does nothing if oldIndex and newIndex are equal.

Events​

NameDescription
CollectionChangedNo summary available.
PropertyChangedNo summary available.

CollectionChanged Event​

public event System.Collections.Specialized.NotifyCollectionChangedEventHandler CollectionChanged

PropertyChanged Event​

public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged