MindFusion.Wpf Pack Programmer's Guide
ColorEditor Class
Remarks See Also
 





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

Namespace: MindFusion.UI.Wpf
Assembly: MindFusion.Common.Wpf

 Syntax

C#  Copy Code

public class ColorEditor : Control

Visual Basic  Copy Code

Public Class ColorEditor
    Inherits Control

 Remarks

The 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.

 Example

The following code illustrates a ColorEditor control defined in XAML:

XAML  Copy Code

<ui:ColorEditor SelectedColor="LightSteelBlue" />

The image below displays the result:

 Inheritance Hierarchy

System.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

ColorEditor Members
MindFusion.UI.Wpf Namespace