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