Represents a control that can be used to edit colors in an RGB or HSL format.
Namespace: MindFusion.UI.Wpf
Assembly: MindFusion.Common.Wpf
SyntaxC#
Copy Code
|
|---|
public class ColorEditor : Control |
Visual Basic
Copy Code
|
|---|
Public Class ColorEditor |
RemarksThe ColorEditor control represents a standard color editor where colors can be manipulated by modifying their Red-Green-Blue or Hue-Saturation-Luminosity components. The colors can also be picked directly from a palette. The color selected in the editor can be accessed through the SelectedColor property.
ExampleThe following code illustrates a ColorEditor control defined in XAML:
XAML
Copy Code
|
|---|
<ui:ColorEditor SelectedColor="LightSteelBlue" /> |
The image below displays the result:

Inheritance HierarchySystem.Object![]()
System.Windows.Threading.DispatcherObject![]()
System.Windows.DependencyObject![]()
System.Windows.Media.Visual![]()
System.Windows.UIElement![]()
System.Windows.FrameworkElement![]()
System.Windows.Controls.Control![]()
MindFusion.UI.Wpf.ColorEditor
See Also