Class DataGridColumnCollection
Represents a strongly typed collection of DataGridColumn objects.
Inheritance
Namespace: Telerik.Maui.Controls.DataGrid
Assembly: Telerik.Maui.Controls.dll
Syntax
public sealed class DataGridColumnCollection : ObservableCollection<DataGridColumn>
Properties
Item[String]
Gets the DataGridColumn instance which Name value matches the provided one.
Declaration
public DataGridColumn this[string name] { get; }
Parameters
System.String
name
The name of the column to search for. |
Property Value
DataGridColumn
|
Methods
ClearItems()
Clears the items.
Declaration
protected override void ClearItems()
InsertItem(Int32, DataGridColumn)
Inserts the item.
Declaration
protected override void InsertItem(int index, DataGridColumn item)
Parameters
System.Int32
index
The index. |
DataGridColumn
item
The item. |
MoveItem(Int32, Int32)
Declaration
protected override void MoveItem(int oldIndex, int newIndex)
Parameters
System.Int32
oldIndex
|
System.Int32
newIndex
|
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Raises the System.Collections.ObjectModel.ObservableCollection`1.CollectionChanged event with the provided arguments.
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
System.Collections.Specialized.NotifyCollectionChangedEventArgs
e
Arguments of the event being raised. |
RemoveItem(Int32)
Removes the item.
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
The index. |
SetItem(Int32, DataGridColumn)
Sets the item.
Declaration
protected override void SetItem(int index, DataGridColumn item)
Parameters
System.Int32
index
The index. |
DataGridColumn
item
The item. |