In This Article

BytePropertyEditor Class

Represents a PropertyEditor for editing a Byte value with a ByteEditBox.

public class BytePropertyEditor : PartEditBoxPropertyEditorBase
Inheritance:
object ObservableObjectBase PropertyEditor PropertyEditorBase PartEditBoxPropertyEditorBase object
Derived:
NullableBytePropertyEditor

Constructors

BytePropertyEditor()

Initializes an instance of the class.

public BytePropertyEditor()

BytePropertyEditor(Type)

Initializes an instance of the class.

protected BytePropertyEditor(Type propertyType)
Parameter Type Description
propertyType Type

The type of the property.

Properties

DefaultValue

The value to set when incrementing/decrementing from a null value.

public byte DefaultValue { get; set; }

Property Value

byte:

The default value is 0.

Format

The number format string.

public string Format { get; set; }

Property Value

string:

The default value is "D".

LargeChange

The large change value.

public byte LargeChange { get; set; }

Property Value

byte:

The default value is 5.

Maximum

The highest possible value.

public byte Maximum { get; set; }

Property Value

byte

Minimum

The lowest possible value.

public byte Minimum { get; set; }

Property Value

byte

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.

PredefinedValueTemplateKey

The resource key that references a pre-defined DataTemplate within internal resources to use for editing the property value.

protected override object PredefinedValueTemplateKey { get; }

Property Value

object

SmallChange

The small change value.

public byte SmallChange { get; set; }

Property Value

byte:

The default value is 1.

SpinnerVisibility

Indicates if and when the control has a spinner available.

public SpinnerVisibility SpinnerVisibility { get; set; }

Property Value

SpinnerVisibility:

The default value is VisibleWhenActive.

Inherited Members

Extension Methods