Skip to main content

Contains Method

Indicates whether the specified item belongs to this collection view.

Definition​

Namespace: Avalonia.Collections
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)

bool Contains(
Object item
)

Parameters​

  Object
The object to check.

Return Value​

Boolean
true if the item belongs to this collection view; otherwise, false.

See Also​

Reference​

IDataGridCollectionView Interface
Avalonia.Collections Namespace