RadialHuePicker Class
Represents a radial color hue picker control.
[TemplatePart(Name = "PART_HueRing", Type = typeof(HueRing))]
[TemplatePart(Name = "PART_Slider", Type = typeof(RadialSlider))]
public class RadialHuePicker : ContentControl, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild
- Inheritance:
- Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ContentControl Object
Constructors
RadialHuePicker()
Initializes an instance of the RadialHuePicker
class.
public RadialHuePicker()
Properties
Hue
Gets or sets the color hue.
Radius
Gets or sets the ring's outer radius.
public double Radius { get; set; }
Property Value
- Double:
The ring's outer radius. The default value is
130.0
.
SliderRadius
Gets the slider's radius.
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
HueChanged
Occurs after the Hue property value changes.
Fields
HueProperty
Identifies the Hue dependency property. This field is read-only.
public static readonly DependencyProperty HueProperty
RadiusProperty
Identifies the Radius dependency property. This field is read-only.
public static readonly DependencyProperty RadiusProperty
SliderRadiusProperty
Identifies the SliderRadius dependency property. This field is read-only.
public static readonly DependencyProperty SliderRadiusProperty
Inherited Members
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()