In This Article

DoubleEditBox Class

Represents a Double edit box.

public class DoubleEditBox : FloatingPointIeee754NumberPartEditBoxBase<double>
Inheritance:
object Visual UIElement FrameworkElement Control PartEditBoxBase<double?> NumberPartEditBoxBase<double> FloatingPointNumberPartEditBoxBase<double> FloatingPointIeee754NumberPartEditBoxBase<double> object

Constructors

DoubleEditBox()

Initializes an instance of the class.

public DoubleEditBox()

Properties

PickerKind

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

public DoubleEditBoxPickerKind PickerKind { get; set; }

Property Value

DoubleEditBoxPickerKind:

The default value is Calculator.

Methods

TryConvertFromString(string?, bool, out double?)

Tries to convert the specified text to a value.

protected override bool TryConvertFromString(string? textToConvert, bool canCoerce, out double? 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 double?

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