Opens the Color picker dialog, allowing the user to choose a color.

Namespace: Ico.Gwx
Assembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.306.0 (10.97.306.00)

Syntax

C#
public Color OpenColorPicker(
	Color color
)
Visual Basic
Public Function OpenColorPicker ( _
	color As Color _
) As Color
JScript
public function OpenColorPicker(
	color : Color
) : Color

Parameters

color
Type: System.Windows.Media..::..Color
An initial color to send to the color picker dialog.

Return Value

The new color selected by the user. If the user did not select a new color (such as when the Cancel button is clicked), this function returns the original color. So, you can compare the color parameter to the return value of this function to determine if the user chose a new color.

See Also