MindFusion.Wpf Pack Programmer's Guide
ColorEditor Members
Constructors Fields Properties Methods Events
 


Represents a control that can be used to edit colors in an RGB or HSL format.

The following tables list the members exposed by the ColorEditor type.

 Public Constructors

  Name Description

ColorEditor

Initializes a new instance of the ColorEditor class.

 Public Fields

  Name Description

ButtonBackgroundProperty

Identifies the ButtonBackground dependency property.

ButtonBorderBrushProperty

Identifies the ButtonBorderBrush dependency property.

ButtonBorderThicknessProperty

Identifies the ButtonBorderThickness dependency property.

ButtonForegroundProperty

Identifies the ButtonForeground dependency property.

ButtonOverBackgroundProperty

Identifies the ButtonOverBackground dependency property.

ButtonPressedBackgroundProperty

Identifies the ButtonPressedBackground dependency property.

ColorEditorModeProperty

Identifies the ColorEditorMode dependency property.

SelectedColorProperty

Identifies the SelectedColor dependency property.

 Public Properties

  Name Description

ButtonBackground

Gets or sets the background brush for the buttons in the editor. This is a dependency property.

ButtonBorderBrush

Gets or sets the border brush for the buttons in the editor. This is a dependency property.

ButtonBorderThickness

Gets or sets the border thickness for the buttons in the editor. This is a dependency property.

ButtonForeground

Gets or sets the foreground brush for the buttons in the editor. This is a dependency property.

ButtonOverBackground

Gets or sets the background brush for the buttons in the editor when they are pointed with the mouse. This is a dependency property.

ButtonPressedBackground

Gets or sets the background brush for the buttons in the editor when they pressed. This is a dependency property.

ColorEditorMode

Gets or sets the working mode of the editor. This is a dependency property.

SelectedColor

Gets or sets the color selected in the editor. This is a dependency property.

 Public Methods

  Name Description

OnApplyTemplate

FrameworkElement.OnApplyTemplate override.

 Public Events

  Name Description

AddCustomColorClick

Raised when a AddCustomColor button is clicked.

ColorBoxClick

Raised when a Color Box has been selected.

CustomColorRightButtonClick

Raised when a custom color box is clicked with the right mouse button.

 See Also

ColorEditor Class
MindFusion.UI.Wpf Namespace