Click or drag to resize
DialogsShowColorDialog Method (Color, Boolean, String)
Display Rhino's color selection dialog.

Namespace: Rhino.UI
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public static bool ShowColorDialog(
	ref Color color,
	bool includeButtonColors,
	string dialogTitle
)

Parameters

color
Type: System.DrawingColor
[in/out] Default color for dialog, and will receive new color if function returns true.
includeButtonColors
Type: SystemBoolean
Display button face and text options at top of named color list.
dialogTitle
Type: SystemString
The title of the dialog.

Return Value

Type: Boolean
true if the color changed. false if the color has not changed or the user pressed cancel.
See Also