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
Inheritance:
object Visual UIElement FrameworkElement Control ContentControl object

Constructors

RadialHuePicker()

Initializes an instance of the class.

public RadialHuePicker()

Properties

Hue

The color hue.

public double Hue { get; set; }

Property Value

double:

The default value is 0.0.

Radius

The ring's outer radius.

public double Radius { get; set; }

Property Value

double:

The default value is 130.0.

SliderRadius

The slider's radius.

public double SliderRadius { get; }

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

HueChanged

Occurs after the Hue property value changes.

public event EventHandler? HueChanged

Event Type

EventHandler

Fields

HueProperty

Defines the Hue property.

public static readonly DependencyProperty HueProperty

RadiusProperty

Defines the Radius property.

public static readonly DependencyProperty RadiusProperty

SliderRadiusProperty

Defines the SliderRadius property.

public static readonly DependencyProperty SliderRadiusProperty

Extension Methods