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