Spread Windows Forms 18
GrapeCity.Spreadsheet.WinForms.Ribbon Assembly / GrapeCity.Spreadsheet.WinForms.Ribbon Namespace / RibbonColorPicker Class / RibbonColorPicker Constructor
The name of color picker
Specifies type of color will be returned via CommandParameter, true the color object; otherwise, the color index.


In This Topic
    RibbonColorPicker Constructor
    In This Topic
    Initializes a new instance of the RibbonColorPicker class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal name As String, _
       Optional ByVal isSelectedColor As Boolean _
    )
    'Usage
     
    
    Dim name As String
    Dim isSelectedColor As Boolean
     
    Dim instance As New RibbonColorPicker(name, isSelectedColor)
    public RibbonColorPicker( 
       string name,
       bool isSelectedColor
    )

    Parameters

    name
    The name of color picker
    isSelectedColor
    Specifies type of color will be returned via CommandParameter, true the color object; otherwise, the color index.
    See Also