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.
Hue
The color hue.
Saturation
The color saturation.
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.
SaturationChanged
Occurs after the Saturation property value changes.
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