FloatingPointIeee754NumberPartEditBoxBase<T> Class
Represents the abstract base class for a part-based edit box for floating point IEEE 754 numeric values.
public abstract class FloatingPointIeee754NumberPartEditBoxBase<T> : FloatingPointNumberPartEditBoxBase<T> where T : struct, IFloatingPointIeee754<T>, IMinMaxValue<T>
- Type Parameters:
-
T-The numeric type to be edited.
- Inheritance:
- object Visual UIElement FrameworkElement Control PartEditBoxBase<T?> NumberPartEditBoxBase<T> FloatingPointNumberPartEditBoxBase<T> object
- Derived:
- DoubleEditBox SingleEditBox
Constructors
FloatingPointIeee754NumberPartEditBoxBase()
Initializes an instance of the class.
protected FloatingPointIeee754NumberPartEditBoxBase()
Properties
IsNaNAllowed
Indicates whether NaN is accepted as a value.
public bool IsNaNAllowed { get; set; }
Property Value
- bool:
trueifNaNis accepted as a value; otherwise,false. The default value isfalse.
IsNegativeInfinityAllowed
Indicates whether NegativeInfinity is accepted as a value.
public bool IsNegativeInfinityAllowed { get; set; }
Property Value
- bool:
trueifNegativeInfinityis accepted as a value; otherwise,false. The default value isfalse.
IsPositiveInfinityAllowed
Indicates whether PositiveInfinity is accepted as a value.
public bool IsPositiveInfinityAllowed { get; set; }
Property Value
- bool:
trueifPositiveInfinityis accepted as a value; otherwise,false. The default value isfalse.
Methods
IsValidValue(T?)
Tests whether the specified value is valid.
protected override bool IsValidValue(T? value)
| Parameter | Type | Description |
|---|---|---|
| value | T? | The value to examine. |
Returns
- bool:
trueif the value is valid; otherwise,false.
ProcessTextInput(string)
Processes typed text.
protected override bool ProcessTextInput(string text)
| Parameter | Type | Description |
|---|---|---|
| text | string | The typed text. |
Returns
- bool:
trueif the typed text was handled and should not be allowed to be entered; otherwise,false.
Fields
IsNaNAllowedProperty
Defines the IsNaNAllowed property.
public static readonly DependencyProperty IsNaNAllowedProperty
IsNegativeInfinityAllowedProperty
Defines the IsNegativeInfinityAllowed property.
public static readonly DependencyProperty IsNegativeInfinityAllowedProperty
IsPositiveInfinityAllowedProperty
Defines the IsPositiveInfinityAllowed property.
public static readonly DependencyProperty IsPositiveInfinityAllowedProperty
Inherited Members
- FloatingPointNumberPartEditBoxBase<T>.CanSnapToChangePrecisionProperty
- FloatingPointNumberPartEditBoxBase<T>.RoundingDecimalPlaceProperty
- FloatingPointNumberPartEditBoxBase<T>.CreateIncrementalChangeRequest(IncrementalChangeRequestKind)
- FloatingPointNumberPartEditBoxBase<T>.CanSnapToChangePrecision
- FloatingPointNumberPartEditBoxBase<T>.Format
- FloatingPointNumberPartEditBoxBase<T>.RoundingDecimalPlace
- NumberPartEditBoxBase<T>.CalculatorPopupPickerStyleProperty
- NumberPartEditBoxBase<T>.DefaultValueProperty
- NumberPartEditBoxBase<T>.FormatProperty
- NumberPartEditBoxBase<T>.LargeChangeProperty
- NumberPartEditBoxBase<T>.MaximumProperty
- NumberPartEditBoxBase<T>.MinimumProperty
- NumberPartEditBoxBase<T>.ResolvedFormatProperty
- NumberPartEditBoxBase<T>.SmallChangeProperty
- NumberPartEditBoxBase<T>.CoerceValidValue(T?)
- NumberPartEditBoxBase<T>.ConvertToString(T?)
- NumberPartEditBoxBase<T>.GenerateParts()
- NumberPartEditBoxBase<T>.ResetValue()
- NumberPartEditBoxBase<T>.CalculatorPopupPickerStyle
- NumberPartEditBoxBase<T>.DefaultValue
- NumberPartEditBoxBase<T>.LargeChange
- NumberPartEditBoxBase<T>.Maximum
- NumberPartEditBoxBase<T>.Minimum
- NumberPartEditBoxBase<T>.ResolvedFormat
- NumberPartEditBoxBase<T>.SmallChange
- PartEditBoxBase<T?>.ActivePartIndexProperty
- PartEditBoxBase<T?>.CommitTriggersProperty
- PartEditBoxBase<T?>.HasPopupProperty
- PartEditBoxBase<T?>.InlinesProperty
- PartEditBoxBase<T?>.InputScopeNameValueProperty
- PartEditBoxBase<T?>.IntermediateValueProperty
- PartEditBoxBase<T?>.IsArrowKeyPartNavigationEnabledProperty
- PartEditBoxBase<T?>.IsEditableProperty
- PartEditBoxBase<T?>.IsInputFilteringEnabledProperty
- PartEditBoxBase<T?>.IsNonDefaultUsageContextProperty
- PartEditBoxBase<T?>.IsNullAllowedProperty
- PartEditBoxBase<T?>.IsPopupButtonVisibleProperty
- PartEditBoxBase<T?>.IsPopupOpenProperty
- PartEditBoxBase<T?>.IsReadOnlyProperty
- PartEditBoxBase<T?>.IsSpinnerVisibleProperty
- PartEditBoxBase<T?>.IsUndoEnabledProperty
- PartEditBoxBase<T?>.PlaceholderTextProperty
- PartEditBoxBase<T?>.PopupBackgroundProperty
- PartEditBoxBase<T?>.PopupBorderBrushProperty
- PartEditBoxBase<T?>.PopupPickerStyleProperty
- PartEditBoxBase<T?>.SpinnerVisibilityProperty
- PartEditBoxBase<T?>.SpinWrappingProperty
- PartEditBoxBase<T?>.TextAlignmentProperty
- PartEditBoxBase<T?>.UsageContextProperty
- PartEditBoxBase<T?>.ValueProperty
- PartEditBoxBase<T?>.Commit()
- PartEditBoxBase<T?>.Commit(bool)
- PartEditBoxBase<T?>.InvalidateParts()
- PartEditBoxBase<T?>.IsTextInputAllowed(string)
- PartEditBoxBase<T?>.OnApplyTemplate()
- PartEditBoxBase<T?>.OnCreateAutomationPeer()
- PartEditBoxBase<T?>.OnGotFocus(RoutedEventArgs)
- PartEditBoxBase<T?>.OnIntermediateValueChanged(T?, T?)
- PartEditBoxBase<T?>.OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)
- PartEditBoxBase<T?>.OnIsNullAllowedChanged(bool, bool)
- PartEditBoxBase<T?>.OnKeyDown(KeyEventArgs)
- PartEditBoxBase<T?>.OnLostFocus(RoutedEventArgs)
- PartEditBoxBase<T?>.OnLostMouseCapture(MouseEventArgs)
- PartEditBoxBase<T?>.OnMouseLeftButtonDown(MouseButtonEventArgs)
- PartEditBoxBase<T?>.OnPopupOpened()
- PartEditBoxBase<T?>.OnPreviewMouseUp(MouseButtonEventArgs)
- PartEditBoxBase<T?>.OnPreviewTextInput(TextCompositionEventArgs)
- PartEditBoxBase<T?>.OnValueChanged(T?, T?)
- PartEditBoxBase<T?>.SelectAll()
- PartEditBoxBase<T?>.TryConvertFromString(string, bool, out T?)
- PartEditBoxBase<T?>.UpdateIntermediateValueAndTextFromValue()
- PartEditBoxBase<T?>.ActivePartIndex
- PartEditBoxBase<T?>.CommitTriggers
- PartEditBoxBase<T?>.CurrentSelectionLength
- PartEditBoxBase<T?>.CurrentSelectionStartOffset
- PartEditBoxBase<T?>.CurrentText
- PartEditBoxBase<T?>.HasPopupButtonWhenReadOnly
- PartEditBoxBase<T?>.HasPopup
- PartEditBoxBase<T?>.Inlines
- PartEditBoxBase<T?>.InputScopeNameValue
- PartEditBoxBase<T?>.IntermediateValue
- PartEditBoxBase<T?>.IsArrowKeyPartNavigationEnabled
- PartEditBoxBase<T?>.IsEditable
- PartEditBoxBase<T?>.IsInputFilteringEnabled
- PartEditBoxBase<T?>.IsNonDefaultUsageContext
- PartEditBoxBase<T?>.IsNullAllowed
- PartEditBoxBase<T?>.IsPopupButtonVisible
- PartEditBoxBase<T?>.IsPopupOpen
- PartEditBoxBase<T?>.IsReadOnly
- PartEditBoxBase<T?>.IsSpinnerVisible
- PartEditBoxBase<T?>.IsUndoEnabled
- PartEditBoxBase<T?>.Parts
- PartEditBoxBase<T?>.PlaceholderText
- PartEditBoxBase<T?>.PopupBackground
- PartEditBoxBase<T?>.PopupBorderBrush
- PartEditBoxBase<T?>.PopupPickerStyle
- PartEditBoxBase<T?>.ResetValueCommand
- PartEditBoxBase<T?>.SmallDecrementValueCommand
- PartEditBoxBase<T?>.SmallIncrementValueCommand
- PartEditBoxBase<T?>.SpinnerVisibility
- PartEditBoxBase<T?>.SpinWrapping
- PartEditBoxBase<T?>.TextAlignment
- PartEditBoxBase<T?>.UsageContext
- PartEditBoxBase<T?>.Value
- PartEditBoxBase<T?>.ValueChanged