In This Article

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.

public byte LargeChange { get; set; }

Property Value

byte:

The default value is 8.

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:

true if the text was converted to a value successfully; otherwise, false.

Fields

PickerKindProperty

Defines the PickerKind property.

public static readonly DependencyProperty PickerKindProperty

Inherited Members

Extension Methods