Click or drag to resize

DialogsShowColorDialog Method (Color, Boolean, String)

Display Rhino's color selection dialog.

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


Type: System.DrawingColor
[in/out] Default color for dialog, and will receive new color if function returns true.
Type: SystemBoolean
Display button face and text options at top of named color list.
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.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also