In This Article

SaturationBrightnessPicker Class

Represents a saturation/brightness picker control.

[TemplatePart(Name = "PART_Thumb", Type = typeof(CircularThumb))]
public class SaturationBrightnessPicker : Control
Inheritance:
object Visual UIElement FrameworkElement Control object

Constructors

SaturationBrightnessPicker()

Initializes an instance of the class.

public SaturationBrightnessPicker()

Properties

Brightness

The color brightness.

public double Brightness { get; set; }

Property Value

double

Hue

The color hue.

public double Hue { get; set; }

Property Value

double

Saturation

The color saturation.

public double Saturation { get; set; }

Property Value

double

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

The type-specific AutomationPeer implementation.

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

Defines the Brightness property.

public static readonly DependencyProperty BrightnessProperty

HueProperty

Defines the Hue property.

public static readonly DependencyProperty HueProperty

SaturationProperty

Defines the Saturation property.

public static readonly DependencyProperty SaturationProperty

Extension Methods