In This Article

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.

public double Hue { get; set; }

Property Value

Double:

The color hue. The default value is 0.0.

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.

public double SliderRadius { get; }

Property Value

Double:

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.

public event EventHandler HueChanged

Event Type

EventHandler

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

Extension Methods