[]
        
(Showing Draft Content)

C1.WPF.Extended.C1SpectrumColorPicker

C1SpectrumColorPicker Class

Control that shows a gradient color gamut as well as a slider, allowing the user to chose the color by dragging an indicator.

Namespace: C1.WPF.Extended
Assembly: C1.WPF.Extended.4.6.2.dll
Syntax
[TemplatePart(Name = "Pad", Type = typeof(C1SpectrumPad))]
[TemplatePart(Name = "Hue", Type = typeof(Slider))]
[TemplatePart(Name = "Alpha", Type = typeof(Slider))]
public class C1SpectrumColorPicker : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient

Constructors

Name Description
C1SpectrumColorPicker()

Initializes a new instance of a C1SpectrumColorPicker.

Fields

Name Description
ColorProperty

Identifies the Color dependency property.

ShowAlphaChannelProperty

Identifies the ShowAlphaChannel dependency property.

Properties

Name Description
Color

Gets or sets the color shown in the control.

ShowAlphaChannel

Gets or sets whether the alpha channel slider must be shown.

Methods

Name Description
OnApplyTemplate()

Builds the visual tree for the C1SpectrumColorPicker control when a new template is applied.

Events

Name Description
ColorChanged

Event raised when the Color property has changed.