[]
        
(Showing Draft Content)

C1.WPF.ColorPicker.C1SpectrumPad

C1SpectrumPad Class

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

Inheritance
C1SpectrumPad
Namespace: C1.WPF.ColorPicker
Assembly: C1.WPF.ColorPicker.dll
Syntax
[TemplatePart(Name = "PadCanvas", Type = typeof(Canvas))]
[TemplatePart(Name = "Indicator", Type = typeof(FrameworkElement))]
public class C1SpectrumPad : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable
<TemplatePart(Name:="PadCanvas", Type:=GetType(Canvas))>
<TemplatePart(Name:="Indicator", Type:=GetType(FrameworkElement))>
Public Class C1SpectrumPad
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable

Constructors

Name Description
C1SpectrumPad()

Initializes a new instance of the C1SpectrumPad class.

Fields

Name Description
ColorProperty

Identifies the Color dependency property.

Properties

Name Description
Color

Gets or sets the color shown in the control.

IsDisposed

Gets whether this instance is disposed.

Methods

Name Description
Dispose()
Dispose(bool)
Finalize()

Finalizes this instance of the C1SpectrumPad class.

OnApplyTemplate()

Events

Name Description
ColorChanged

Called when the color changed.