In This Article

Int32PropertyEditor Class

Represents a PropertyEditor for editing a Int32 value with a Int32EditBox.

public class Int32PropertyEditor : PartEditBoxPropertyEditorBase
Inheritance:
object ObservableObjectBase PropertyEditor PropertyEditorBase PartEditBoxPropertyEditorBase object
Derived:
NullableInt32PropertyEditor

Constructors

Int32PropertyEditor()

Initializes an instance of the Int32PropertyEditor class.

public Int32PropertyEditor()

Int32PropertyEditor(Type)

Initializes an instance of the Int32PropertyEditor class.

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

Property Value

int:

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 "D".

LargeChange

Gets or sets the large change value.

public int LargeChange { get; set; }

Property Value

int:

The large change value. The default value is 5.

Maximum

Gets or sets the highest possible value.

public int Maximum { get; set; }

Property Value

int:

The highest possible value.

Minimum

Gets or sets the lowest possible value.

public int Minimum { get; set; }

Property Value

int:

The lowest possible value.

PickerKind

Gets or sets a Int32EditBoxPickerKind indicating the pre-defined Style to apply to the picker used within the popup.

public Int32EditBoxPickerKind PickerKind { get; set; }

Property Value

Int32EditBoxPickerKind:

A Int32EditBoxPickerKind indicating the pre-defined Style to apply to the picker used within the popup. The default value is Calculator in WPF and Default in UWP.

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 int SmallChange { get; set; }

Property Value

int:

The small change value. The default value is 1.

Inherited Members