Version

ShowColorChooserDialog(Boolean) Method

Shows a Color Chooser dialog so that the user can choose a custom color. The chosen color will be added to the list of user-defined colors.
Syntax
'Declaration
 
Public Overloads Sub ShowColorChooserDialog( _
   ByVal useForeColor As Boolean _
) 
public void ShowColorChooserDialog( 
   bool useForeColor
)

Parameters

useForeColor
True if the user is setting the ForeColor. False for setting the BackColor.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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