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

public Int32PropertyEditor()

Int32PropertyEditor(Type)

Initializes an instance of the class.

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

Property Value

int:

The default value is 0.

Format

The number format string.

public string Format { get; set; }

Property Value

string:

The default value is "D".

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.

IsArrowKeyPartNavigationEnabled

Indicates whether the left/right arrow keys can be used to move between and select editable parts.

public bool IsArrowKeyPartNavigationEnabled { get; set; }

Property Value

bool:

true if the left/right arrow keys can be used to move between and select editable parts; otherwise false. The default value is false.

LargeChange

The large change value.

public int LargeChange { get; set; }

Property Value

int:

The default value is 5.

Maximum

The highest possible value.

public int Maximum { get; set; }

Property Value

int

Minimum

The lowest possible value.

public int Minimum { get; set; }

Property Value

int

PickerKind

A Int32EditBoxPickerKind indicating the pre-defined Style to apply to the picker used within the popup.

public Int32EditBoxPickerKind PickerKind { get; set; }

Property Value

Int32EditBoxPickerKind:

The default value is Calculator.

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

Property Value

int:

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