[]
        
(Showing Draft Content)

C1.WPF.Extended.C1SpectrumPad

C1SpectrumPad Class

Control that shows a gradient color gamut 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 = "PadCanvas", Type = typeof(Canvas))]
[TemplatePart(Name = "Indicator", Type = typeof(FrameworkElement))]
public class C1SpectrumPad : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient

Constructors

Name Description
C1SpectrumPad()

Initializes a new instance of a C1SpectrumPad.

Fields

Name Description
ColorProperty

Identifies the Color dependency property.

Properties

Name Description
Color

Gets or sets the color shown in the control.

Methods

Name Description
OnApplyTemplate()

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

Events

Name Description
ColorChanged

Event raised when the Color property has changed.