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


In This Topic
    Add Method (WinButtonCollection)
    In This Topic
    Adds the specified WinButton to the collection.
    Syntax
    'Declaration
     
    Public Function Add( _
       ByVal button As WinButton _
    ) As Integer
    'Usage
     
    Dim instance As WinButtonCollection
    Dim button As WinButton
    Dim value As Integer
     
    value = instance.Add(button)
    public int Add( 
       WinButton button
    )

    Parameters

    button
    A reference to the WinButton to add.

    Return Value

    The index at which the button was added.
    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