In This Article

SaturationBrightnessPicker Class

Represents a saturation/brightness picker control.

[TemplatePart(Name = "PART_Thumb", Type = typeof(CircularThumb))]
public class SaturationBrightnessPicker : Control, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
Inheritance:
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control Object

Constructors

SaturationBrightnessPicker()

Initializes an instance of the SaturationBrightnessPicker class.

public SaturationBrightnessPicker()

Properties

Brightness

Gets or sets the color brightness.

public double Brightness { get; set; }

Property Value

Double:

The color brightness.

Hue

Gets or sets the color hue.

public double Hue { get; set; }

Property Value

Double:

The color hue.

Saturation

Gets or sets the color saturation.

public double Saturation { get; set; }

Property Value

Double:

The color saturation.

Methods

OnApplyTemplate()

Invoked whenever application code or internal processes call ApplyTemplate.

public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns an AutomationPeer object for this control instance.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

An AutomationPeer instance.

Events

BrightnessChanged

Occurs after the Brightness property value changes.

public event EventHandler BrightnessChanged

Event Type

EventHandler

SaturationChanged

Occurs after the Saturation property value changes.

public event EventHandler SaturationChanged

Event Type

EventHandler

Fields

BrightnessProperty

Identifies the Brightness dependency property. This field is read-only.

public static readonly DependencyProperty BrightnessProperty

HueProperty

Identifies the Hue dependency property. This field is read-only.

public static readonly DependencyProperty HueProperty

SaturationProperty

Identifies the Saturation dependency property. This field is read-only.

public static readonly DependencyProperty SaturationProperty

Inherited Members

Extension Methods