Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / ColorPicker Class / ColorPicker Constructor / ColorPicker Constructor(Color,Boolean)
Color
Whether to use the drop-down control


In This Topic
    ColorPicker Constructor(Color,Boolean)
    In This Topic
    Creates a color picker with the specified color and whether to use the drop-down control.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal c As Color, _
       ByVal justShowDropDown As Boolean _
    )
    'Usage
     
    
    Dim c As Color
    Dim justShowDropDown As Boolean
     
    Dim instance As New ColorPicker(c, justShowDropDown)
    public ColorPicker( 
       Color c,
       bool justShowDropDown
    )

    Parameters

    c
    Color
    justShowDropDown
    Whether to use the drop-down control
    See Also