Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridCollectionView Class / Contains Method
The item to verify.


In This Topic
    Contains Method (DataGridCollectionView)
    In This Topic
    Returns a value indicating whether the specified item exists in the collection.
    Syntax
    'Declaration
     
    Public Overrides NotOverridable Function Contains( _
       ByVal item As Object _
    ) As Boolean
    'Usage
     
    Dim instance As DataGridCollectionView
    Dim item As Object
    Dim value As Boolean
     
    value = instance.Contains(item)
    public override bool Contains( 
       object item
    )

    Parameters

    item
    The item to verify.

    Return Value

    true if the item exists in the collection; false otherwise.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also