Contains Method
Return true if the item belongs to this view. No assumptions are made about the item. This method will behave similarly to IList.Contains(). If the caller knows that the item belongs to the underlying collection, it is more efficient to call PassesFilter.
Definition
Namespace: Avalonia.Collections
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)
- C#
- VB
- F#
public bool Contains(
Object item
)
Public Function Contains (
item As Object
) As Boolean
abstract Contains :
item : Object -> bool
override Contains :
item : Object -> bool
Parameters
- Object
- The item we are checking to see whether it is within the collection
Return Value
Boolean
Boolean value of whether or not the collection contains the item
Implements
IDataGridCollectionView.Contains(Object)
IList.Contains(Object)