DecimalEditBox Class
Represents a Double edit box.
public class DecimalEditBox : FloatingPointNumberPartEditBoxBase<decimal>
- Inheritance:
- object Visual UIElement FrameworkElement Control PartEditBoxBase<decimal?> NumberPartEditBoxBase<decimal> FloatingPointNumberPartEditBoxBase<decimal> object
Constructors
DecimalEditBox()
Initializes an instance of the class.
public DecimalEditBox()
Properties
PickerKind
A DecimalEditBoxPickerKind indicating the pre-defined Style to apply to the picker used within the popup.
public DecimalEditBoxPickerKind PickerKind { get; set; }
Property Value
- DecimalEditBoxPickerKind:
The default value is Calculator.
Methods
TryConvertFromString(string?, bool, out decimal?)
Tries to convert the specified text to a value.
protected override bool TryConvertFromString(string? textToConvert, bool canCoerce, out decimal? 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 | decimal? | Returns the value for the specified text. |
Returns
- bool:
trueif the text was converted to a value successfully; otherwise,false.
Fields
PickerKindProperty
Defines the PickerKind property.
public static readonly DependencyProperty PickerKindProperty
Inherited Members
- FloatingPointNumberPartEditBoxBase<decimal>.CanSnapToChangePrecisionProperty
- FloatingPointNumberPartEditBoxBase<decimal>.RoundingDecimalPlaceProperty
- FloatingPointNumberPartEditBoxBase<decimal>.CreateIncrementalChangeRequest(IncrementalChangeRequestKind)
- FloatingPointNumberPartEditBoxBase<decimal>.CanSnapToChangePrecision
- FloatingPointNumberPartEditBoxBase<decimal>.Format
- FloatingPointNumberPartEditBoxBase<decimal>.RoundingDecimalPlace
- NumberPartEditBoxBase<decimal>.CalculatorPopupPickerStyleProperty
- NumberPartEditBoxBase<decimal>.DefaultValueProperty
- NumberPartEditBoxBase<decimal>.FormatProperty
- NumberPartEditBoxBase<decimal>.LargeChangeProperty
- NumberPartEditBoxBase<decimal>.MaximumProperty
- NumberPartEditBoxBase<decimal>.MinimumProperty
- NumberPartEditBoxBase<decimal>.ResolvedFormatProperty
- NumberPartEditBoxBase<decimal>.SmallChangeProperty
- NumberPartEditBoxBase<decimal>.CoerceValidValue(decimal?)
- NumberPartEditBoxBase<decimal>.ConvertToString(decimal?)
- NumberPartEditBoxBase<decimal>.GenerateParts()
- NumberPartEditBoxBase<decimal>.IsValidValue(decimal?)
- NumberPartEditBoxBase<decimal>.ResetValue()
- NumberPartEditBoxBase<decimal>.CalculatorPopupPickerStyle
- NumberPartEditBoxBase<decimal>.DefaultValue
- NumberPartEditBoxBase<decimal>.LargeChange
- NumberPartEditBoxBase<decimal>.Maximum
- NumberPartEditBoxBase<decimal>.Minimum
- NumberPartEditBoxBase<decimal>.ResolvedFormat
- NumberPartEditBoxBase<decimal>.SmallChange
- PartEditBoxBase<decimal?>.ActivePartIndexProperty
- PartEditBoxBase<decimal?>.CommitTriggersProperty
- PartEditBoxBase<decimal?>.HasPopupProperty
- PartEditBoxBase<decimal?>.InlinesProperty
- PartEditBoxBase<decimal?>.InputScopeNameValueProperty
- PartEditBoxBase<decimal?>.IntermediateValueProperty
- PartEditBoxBase<decimal?>.IsArrowKeyPartNavigationEnabledProperty
- PartEditBoxBase<decimal?>.IsEditableProperty
- PartEditBoxBase<decimal?>.IsInputFilteringEnabledProperty
- PartEditBoxBase<decimal?>.IsNonDefaultUsageContextProperty
- PartEditBoxBase<decimal?>.IsNullAllowedProperty
- PartEditBoxBase<decimal?>.IsPopupButtonVisibleProperty
- PartEditBoxBase<decimal?>.IsPopupOpenProperty
- PartEditBoxBase<decimal?>.IsReadOnlyProperty
- PartEditBoxBase<decimal?>.IsSpinnerVisibleProperty
- PartEditBoxBase<decimal?>.IsUndoEnabledProperty
- PartEditBoxBase<decimal?>.PlaceholderTextProperty
- PartEditBoxBase<decimal?>.PopupBackgroundProperty
- PartEditBoxBase<decimal?>.PopupBorderBrushProperty
- PartEditBoxBase<decimal?>.PopupPickerStyleProperty
- PartEditBoxBase<decimal?>.SpinnerVisibilityProperty
- PartEditBoxBase<decimal?>.SpinWrappingProperty
- PartEditBoxBase<decimal?>.TextAlignmentProperty
- PartEditBoxBase<decimal?>.UsageContextProperty
- PartEditBoxBase<decimal?>.ValueProperty
- PartEditBoxBase<decimal?>.Commit()
- PartEditBoxBase<decimal?>.Commit(bool)
- PartEditBoxBase<decimal?>.InvalidateParts()
- PartEditBoxBase<decimal?>.IsTextInputAllowed(string)
- PartEditBoxBase<decimal?>.OnApplyTemplate()
- PartEditBoxBase<decimal?>.OnCreateAutomationPeer()
- PartEditBoxBase<decimal?>.OnGotFocus(RoutedEventArgs)
- PartEditBoxBase<decimal?>.OnIntermediateValueChanged(decimal?, decimal?)
- PartEditBoxBase<decimal?>.OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)
- PartEditBoxBase<decimal?>.OnIsNullAllowedChanged(bool, bool)
- PartEditBoxBase<decimal?>.OnKeyDown(KeyEventArgs)
- PartEditBoxBase<decimal?>.OnLostFocus(RoutedEventArgs)
- PartEditBoxBase<decimal?>.OnLostMouseCapture(MouseEventArgs)
- PartEditBoxBase<decimal?>.OnMouseLeftButtonDown(MouseButtonEventArgs)
- PartEditBoxBase<decimal?>.OnPopupOpened()
- PartEditBoxBase<decimal?>.OnPreviewMouseUp(MouseButtonEventArgs)
- PartEditBoxBase<decimal?>.OnPreviewTextInput(TextCompositionEventArgs)
- PartEditBoxBase<decimal?>.OnValueChanged(decimal?, decimal?)
- PartEditBoxBase<decimal?>.ProcessTextInput(string)
- PartEditBoxBase<decimal?>.SelectAll()
- PartEditBoxBase<decimal?>.UpdateIntermediateValueAndTextFromValue()
- PartEditBoxBase<decimal?>.ActivePartIndex
- PartEditBoxBase<decimal?>.CommitTriggers
- PartEditBoxBase<decimal?>.CurrentSelectionLength
- PartEditBoxBase<decimal?>.CurrentSelectionStartOffset
- PartEditBoxBase<decimal?>.CurrentText
- PartEditBoxBase<decimal?>.HasPopupButtonWhenReadOnly
- PartEditBoxBase<decimal?>.HasPopup
- PartEditBoxBase<decimal?>.Inlines
- PartEditBoxBase<decimal?>.InputScopeNameValue
- PartEditBoxBase<decimal?>.IntermediateValue
- PartEditBoxBase<decimal?>.IsArrowKeyPartNavigationEnabled
- PartEditBoxBase<decimal?>.IsEditable
- PartEditBoxBase<decimal?>.IsInputFilteringEnabled
- PartEditBoxBase<decimal?>.IsNonDefaultUsageContext
- PartEditBoxBase<decimal?>.IsNullAllowed
- PartEditBoxBase<decimal?>.IsPopupButtonVisible
- PartEditBoxBase<decimal?>.IsPopupOpen
- PartEditBoxBase<decimal?>.IsReadOnly
- PartEditBoxBase<decimal?>.IsSpinnerVisible
- PartEditBoxBase<decimal?>.IsUndoEnabled
- PartEditBoxBase<decimal?>.Parts
- PartEditBoxBase<decimal?>.PlaceholderText
- PartEditBoxBase<decimal?>.PopupBackground
- PartEditBoxBase<decimal?>.PopupBorderBrush
- PartEditBoxBase<decimal?>.PopupPickerStyle
- PartEditBoxBase<decimal?>.ResetValueCommand
- PartEditBoxBase<decimal?>.SmallDecrementValueCommand
- PartEditBoxBase<decimal?>.SmallIncrementValueCommand
- PartEditBoxBase<decimal?>.SpinnerVisibility
- PartEditBoxBase<decimal?>.SpinWrapping
- PartEditBoxBase<decimal?>.TextAlignment
- PartEditBoxBase<decimal?>.UsageContext
- PartEditBoxBase<decimal?>.Value
- PartEditBoxBase<decimal?>.ValueChanged