Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinButtonCollection Class / Contains Method
A reference to the WinButton to locate.


In This Topic
    Contains Method (WinButtonCollection)
    In This Topic
    Retrieves a boolean value indicating if the specified WinButton exists in the collection.
    Syntax
    'Declaration
     
    Public Function Contains( _
       ByVal button As WinButton _
    ) As Boolean
    'Usage
     
    Dim instance As WinButtonCollection
    Dim button As WinButton
    Dim value As Boolean
     
    value = instance.Contains(button)
    public bool Contains( 
       WinButton button
    )

    Parameters

    button
    A reference to the WinButton to locate.

    Return Value

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

    Target Platforms: 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