Class ColorSelector
Color selection application
Inheritance
object
ColorSelector
Namespace
Syntax
public static class ColorSelector
Methods
OpenColorSelector(Color, ColorSettings?, bool)
Opens the color selector
Returns
Color
An instance of Color to get the resulting color
Declaration
public static Color OpenColorSelector(Color initialColor, ColorSettings? settings = null, bool readOnly = false)
Parameters
| Name | Type | Description |
|---|---|---|
| initialColor | Color | Initial color to use |
| settings | ColorSettings | Settings to use |
| readOnly | bool | Whether you need to make the color selector read-only or read-write. |
OpenColorSelector(ColorSettings?, bool)
Opens the color selector
Returns
Color
An instance of Color to get the resulting color
Declaration
public static Color OpenColorSelector(ColorSettings? settings = null, bool readOnly = false)
Parameters
| Name | Type | Description |
|---|---|---|
| settings | ColorSettings | Settings to use |
| readOnly | bool | Whether you need to make the color selector read-only or read-write. |