Ribbon for WinForms | ComponentOne
C1.Win.Ribbon Namespace / QatCustomButtonCollection Class / Add Method / Add(String) Method
The text to display on the new button.

In This Topic
    Add(String) Method
    In This Topic
    Adds a new button with the specified text to the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal text As String _
    ) As RibbonButton
    public RibbonButton Add( 
       string text
    )

    Parameters

    text
    The text to display on the new button.

    Return Value

    The newly created RibbonButton object.
    See Also