In This Article

CornerRadiusPicker Class

Represents a CornerRadius picker.

[TemplatePart(Name = "PART_PartSelector", Type = typeof(Selector))]
[TemplatePart(Name = "PART_ValuePicker", Type = typeof(DoublePicker))]
public class CornerRadiusPicker : PickerBase
Inheritance:
object Visual UIElement FrameworkElement Control PickerBase object

Constructors

CornerRadiusPicker()

Initializes an instance of the class.

public CornerRadiusPicker()

Properties

Maximum

The highest possible value.

public CornerRadius Maximum { get; set; }

Property Value

CornerRadius

Minimum

The lowest possible value.

public CornerRadius Minimum { get; set; }

Property Value

CornerRadius

RoundingDecimalPlace

The rounding decimal place, which is a value between 0 and 15.

public int? RoundingDecimalPlace { get; set; }

Property Value

int?:

Pass a null value to disable rounding. The default value is 8.

SmallChange

The small change value.

public CornerRadius SmallChange { get; set; }

Property Value

CornerRadius:

The default value is 1.0.

Value

The value of the control.

public CornerRadius Value { get; set; }

Property Value

CornerRadius

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

Events

ValueChanged

Occurs after the Value property value changes.

public event EventHandler? ValueChanged

Event Type

EventHandler

Fields

MaximumProperty

Defines the Maximum property.

public static readonly DependencyProperty MaximumProperty

MinimumProperty

Defines the Minimum property.

public static readonly DependencyProperty MinimumProperty

RoundingDecimalPlaceProperty

Defines the RoundingDecimalPlace property.

public static readonly DependencyProperty RoundingDecimalPlaceProperty

SmallChangeProperty

Defines the SmallChange property.

public static readonly DependencyProperty SmallChangeProperty

ValueProperty

Defines the Value property.

public static readonly DependencyProperty ValueProperty

Inherited Members

Extension Methods