In This Article

Int32EditBox Class

Represents an Int32 edit box.

public class Int32EditBox : NumberPartEditBoxBase<int>
Inheritance:
object Visual UIElement FrameworkElement Control PartEditBoxBase<int?> NumberPartEditBoxBase<int> object

Constructors

Int32EditBox()

Initializes an instance of the class.

public Int32EditBox()

Properties

PickerKind

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

Methods

TryConvertFromString(string?, bool, out int?)

Tries to convert the specified text to a value.

protected override bool TryConvertFromString(string? textToConvert, bool canCoerce, out int? value)
Parameter Type Description
textToConvert string

The text.

canCoerce bool

Whether the returned value should be coerced to fall within the allowed value range.

value int?

Returns the value for the specified text.

Returns

bool:

true if the text was converted to a value successfully; otherwise, false.

Fields

PickerKindProperty

Defines the PickerKind property.

public static readonly DependencyProperty PickerKindProperty

Inherited Members

Extension Methods