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.
Hue
Gets or sets the color hue.
Saturation
Gets or sets 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.
SaturationChanged
Occurs after the Saturation property value changes.
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
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()