Skip to main content

TreeDataGridRows Class

Definition​

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

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

public class TreeDataGridRows

Inheritance: object -> TreeDataGridRows

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

Remarks​

Note that depending on the type of grid being displayed, items retrieved from a Avalonia.Controls.TreeDataGridRows collection may be reused, so the Avalonia.Controls.Models.ITreeDataGridRowModel should be treated as valid only until the next item is retrieved from the collection or the layout of the grid is updated.

Methods​

NameDescription
GetEnumeratorNo summary available.

GetEnumerator Method​

public System.Collections.Generic.IEnumerator<Avalonia.Controls.Models.ITreeDataGridRowModel> GetEnumerator()

Returns​

System.Collections.Generic.IEnumerator<Avalonia.Controls.Models.ITreeDataGridRowModel>

Properties​

NameDescription
CountGets the number of rows in the collection.
ItemNo summary available.

Count Property​

Gets the number of rows in the collection.

public int Count { get; set; }

Item Property​

public Avalonia.Controls.Models.ITreeDataGridRowModel Item { get; set; }

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