In This Article

DataGridByteColumn Class

Represents a data-bound column for use in a DataGrid that utilizes the ByteEditBox control.

public class DataGridByteColumn : DataGridPartEditBoxColumnBase<byte?>
Inheritance:
object DataGridColumn DataGridBoundColumn DataGridBoundColumnBase DataGridPartEditBoxColumnBase<byte?> object

Constructors

DataGridByteColumn()

Initializes an instance of the class.

public DataGridByteColumn()

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

An 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.

SmallChange

The small change value.

public byte SmallChange { get; set; }

Property Value

byte:

The default value is 1.

Methods

ApplyStandardValues(FrameworkElement)

Applies standard values to the specified target element.

protected override void ApplyStandardValues(FrameworkElement targetElement)
Parameter Type Description
targetElement FrameworkElement

The target element.

GetEditBoxType()

The type of the associated PartEditBoxBase-derived control.

protected override Type GetEditBoxType()

Returns

Type

Fields

DefaultValueProperty

Defines the DefaultValue property.

public static readonly DependencyProperty DefaultValueProperty

FormatProperty

Defines the Format property.

public static readonly DependencyProperty FormatProperty

LargeChangeProperty

Defines the LargeChange property.

public static readonly DependencyProperty LargeChangeProperty

MaximumProperty

Defines the Maximum property.

public static readonly DependencyProperty MaximumProperty

MinimumProperty

Defines the Minimum property.

public static readonly DependencyProperty MinimumProperty

PickerKindProperty

Defines the PickerKind property.

public static readonly DependencyProperty PickerKindProperty

SmallChangeProperty

Defines the SmallChange property.

public static readonly DependencyProperty SmallChangeProperty

Inherited Members

Extension Methods