In This Article

Int32RectPropertyEditor Class

Represents a PropertyEditor for editing a Int32Rect value with a Int32RectEditBox.

public class Int32RectPropertyEditor : PartEditBoxPropertyEditorBase
Inheritance:
object ObservableObjectBase PropertyEditor PropertyEditorBase PartEditBoxPropertyEditorBase object
Derived:
NullableInt32RectPropertyEditor

Constructors

Int32RectPropertyEditor()

Initializes an instance of the class.

public Int32RectPropertyEditor()

Int32RectPropertyEditor(Type)

Initializes an instance of the class.

protected Int32RectPropertyEditor(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 Int32Rect DefaultValue { get; set; }

Property Value

Int32Rect:

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.

LargeChange

The large change value.

public Int32Rect LargeChange { get; set; }

Property Value

Int32Rect:

The default value is 5.

Maximum

The highest possible value.

public Int32Rect Maximum { get; set; }

Property Value

Int32Rect

Minimum

The lowest possible value.

public Int32Rect Minimum { get; set; }

Property Value

Int32Rect

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

SmallChange

The small change value.

public Int32Rect SmallChange { get; set; }

Property Value

Int32Rect:

The default value is 1.

SpinnerVisibility

Indicates if and when the control has a spinner available.

public SpinnerVisibility SpinnerVisibility { get; set; }

Property Value

SpinnerVisibility:

The default value is VisibleWhenActive.

Inherited Members

Extension Methods