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