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, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
Inheritance:
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control PickerBase Object

Constructors

CornerRadiusPicker()

Initializes an instance of the CornerRadiusPicker class.

public CornerRadiusPicker()

Properties

Maximum

Gets or sets the highest possible value.

public CornerRadius Maximum { get; set; }

Property Value

CornerRadius:

The highest possible value.

Minimum

Gets or sets the lowest possible value.

public CornerRadius Minimum { get; set; }

Property Value

CornerRadius:

The lowest possible value.

RoundingDecimalPlace

Gets or sets the rounding decimal place.

public int? RoundingDecimalPlace { get; set; }

Property Value

Nullable<Int32>:

The rounding decimal place, which is a value between 0 and 15. Pass a null value to disable rounding. The default value is 8.

SmallChange

Gets or sets the small change value.

public CornerRadius SmallChange { get; set; }

Property Value

CornerRadius:

The small change value. The default value is 1.0.

Value

Gets or sets the value of the control.

public CornerRadius Value { get; set; }

Property Value

CornerRadius:

The value of the control.

Methods

OnApplyTemplate()

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

Identifies the Maximum dependency property. This field is read-only.

public static readonly DependencyProperty MaximumProperty

MinimumProperty

Identifies the Minimum dependency property. This field is read-only.

public static readonly DependencyProperty MinimumProperty

RoundingDecimalPlaceProperty

Identifies the RoundingDecimalPlace dependency property. This field is read-only.

public static readonly DependencyProperty RoundingDecimalPlaceProperty

SmallChangeProperty

Identifies the SmallChange dependency property. This field is read-only.

public static readonly DependencyProperty SmallChangeProperty

ValueProperty

Identifies the Value dependency property. This field is read-only.

public static readonly DependencyProperty ValueProperty

Inherited Members

Extension Methods