Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinButtonCollection Class / Insert Method
The zero-based index at which to insert the button.
A reference to the WinButton to insert.


In This Topic
    Insert Method (WinButtonCollection)
    In This Topic
    Inserts a WinButton into the collection at the specified index.
    Syntax
    'Declaration
     
    Public Sub Insert( _
       ByVal index As Integer, _
       ByVal button As WinButton _
    ) 
    'Usage
     
    Dim instance As WinButtonCollection
    Dim index As Integer
    Dim button As WinButton
     
    instance.Insert(index, button)
    public void Insert( 
       int index,
       WinButton button
    )

    Parameters

    index
    The zero-based index at which to insert the button.
    button
    A reference to the WinButton to insert.
    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