In This Article

CornerRadiusPropertyEditor Class

Represents a PropertyEditor for editing a CornerRadius value with a CornerRadiusEditBox.

public class CornerRadiusPropertyEditor : PartEditBoxPropertyEditorBase
Inheritance:
object ObservableObjectBase PropertyEditor PropertyEditorBase PartEditBoxPropertyEditorBase object
Derived:
NullableCornerRadiusPropertyEditor

Constructors

CornerRadiusPropertyEditor()

Initializes an instance of the class.

public CornerRadiusPropertyEditor()

CornerRadiusPropertyEditor(Type)

Initializes an instance of the class.

protected CornerRadiusPropertyEditor(Type propertyType)
Parameter Type Description
propertyType Type

The type of the property.

Properties

DefaultValue

The value to set when incrementing/decrementing from a null value.

public CornerRadius DefaultValue { get; set; }

Property Value

CornerRadius:

The default value is 0.

Format

The number format string.

public string Format { get; set; }

Property Value

string:

The default value is "G".

HasPopup

Indicates whether the control has a popup available.

public bool HasPopup { get; set; }

Property Value

bool:

true if the control has a popup available; otherwise false. The default value is true.

IsNaNAllowed

Indicates whether NaN is accepted as a component value.

public bool IsNaNAllowed { get; set; }

Property Value

bool:

true if NaN is accepted as a component value; otherwise, false. The default value is false.

IsNegativeInfinityAllowed

Indicates whether NegativeInfinity is accepted as a component value.

public bool IsNegativeInfinityAllowed { get; set; }

Property Value

bool:

true if NegativeInfinity is accepted as a component value; otherwise, false. The default value is false.

IsPositiveInfinityAllowed

Indicates whether PositiveInfinity is accepted as a component value.

public bool IsPositiveInfinityAllowed { get; set; }

Property Value

bool:

true if PositiveInfinity is accepted as a component value; otherwise, false. The default value is false.

LargeChange

The large change value.

public CornerRadius LargeChange { get; set; }

Property Value

CornerRadius:

The default value is 5.

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

PredefinedValueTemplateKey

The resource key that references a pre-defined DataTemplate within internal resources to use for editing the property value.

protected override object PredefinedValueTemplateKey { get; }

Property Value

object

RoundingDecimalPlace

The rounding decimal place.

public int? RoundingDecimalPlace { get; set; }

Property Value

int?:

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

The small change value.

public CornerRadius SmallChange { get; set; }

Property Value

CornerRadius:

The default value is 1.

Inherited Members

Extension Methods