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 Int32RectPropertyEditor class.

public Int32RectPropertyEditor()

Int32RectPropertyEditor(Type)

Initializes an instance of the Int32RectPropertyEditor class.

protected Int32RectPropertyEditor(Type propertyType)
Parameter Type Description
propertyType Type

The type of the property.

Properties

DefaultValue

Gets or sets the value to set when incrementing/decrementing from a null value.

public Int32Rect DefaultValue { get; set; }

Property Value

Int32Rect:

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

Format

Gets or sets the number format string.

public string Format { get; set; }

Property Value

string:

The number format string. The default value is "G".

LargeChange

Gets or sets the large change value.

public Int32Rect LargeChange { get; set; }

Property Value

Int32Rect:

The large change value. The default value is 5.

Maximum

Gets or sets the highest possible value.

public Int32Rect Maximum { get; set; }

Property Value

Int32Rect:

The highest possible value.

Minimum

Gets or sets the lowest possible value.

public Int32Rect Minimum { get; set; }

Property Value

Int32Rect:

The lowest possible value.

PredefinedValueTemplateKey

Gets 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:

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

SmallChange

Gets or sets the small change value.

public Int32Rect SmallChange { get; set; }

Property Value

Int32Rect:

The small change value. The default value is 1.

Inherited Members