[]
Control that shows a gradient color gamut as well as a slider, allowing the user to chose the color by dragging an indicator.
[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
| Name | Description |
|---|---|
| C1SpectrumColorPicker() | Initializes a new instance of a C1SpectrumColorPicker. |
| Name | Description |
|---|---|
| ColorProperty | Identifies the Color dependency property. |
| ShowAlphaChannelProperty | Identifies the ShowAlphaChannel dependency property. |
| Name | Description |
|---|---|
| Color | Gets or sets the color shown in the control. |
| ShowAlphaChannel | Gets or sets whether the alpha channel slider must be shown. |
| Name | Description |
|---|---|
| OnApplyTemplate() | Builds the visual tree for the C1SpectrumColorPicker control when a new template is applied. |
| Name | Description |
|---|---|
| ColorChanged | Event raised when the Color property has changed. |