Click or drag to resize

ColorDialog Class

Dialog for choosing a color
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class ColorDialog : CommonDialog

The ColorDialog type exposes the following members.

Constructors
  NameDescription
Public methodColorDialog
Initializes a new instance of the ColorDialog class
Top
Properties
  NameDescription
Public propertyAllowAlpha
Gets or sets a value indicating whether the user can adjust the Alpha component of the Color.
Public propertyColor
Gets or sets the selected color.
Public propertySupportsAllowAlpha
Gets a value indicating that the current platform supports the AllowAlpha property.
Top
Methods
  NameDescription
Protected methodGetCallback
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides WidgetGetCallback.)
Protected methodOnColorChanged
Raises the ColorChanged event.
Top
Events
  NameDescription
Public eventColorChanged
Occurs when the Color has changed.
Top
Remarks
The color dialog on some platforms may run asynchronously, and return immediately after the ShowDialog(Control) call. For example, on OS X the color picker is a non-modal shared tool window that stays on the screen until the user dismisses it. You should always handle the ColorChanged event to determine when the value has changed.
See Also