DataGridInt32Column Class
Represents a data-bound column for use in a DataGrid that utilizes the Int32EditBox control.
public class DataGridInt32Column : DataGridPartEditBoxColumnBase<int?>
- Inheritance:
- object DataGridColumn DataGridBoundColumn DataGridBoundColumnBase DataGridPartEditBoxColumnBase<int?> object
Constructors
DataGridInt32Column()
Initializes an instance of the class.
public DataGridInt32Column()
Properties
DefaultValue
The value to set when incrementing/decrementing from a null value.
Format
The number format string.
HasPopup
Indicates whether the control has a popup available.
public bool HasPopup { get; set; }
Property Value
- bool:
trueif the control has a popup available; otherwisefalse. The default value isfalse.
IsArrowKeyPartNavigationEnabled
Indicates whether the left/right arrow keys can be used to move between and select editable parts.
public bool IsArrowKeyPartNavigationEnabled { get; set; }
Property Value
- bool:
trueif the left/right arrow keys can be used to move between and select editable parts; otherwisefalse. The default value isfalse.
LargeChange
The large change value.
Maximum
The highest possible value.
Minimum
The lowest possible value.
PickerKind
An Int32EditBoxPickerKind indicating the pre-defined Style to apply to the picker used within the popup.
public Int32EditBoxPickerKind PickerKind { get; set; }
Property Value
- Int32EditBoxPickerKind:
The default value is Calculator.
SmallChange
The small change value.
SpinnerVisibility
A value indicating if and when the control has a spinner available.
public SpinnerVisibility SpinnerVisibility { get; set; }
Property Value
- SpinnerVisibility:
The default value is VisibleWhenActive.
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.
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
- DataGridPartEditBoxColumnBase<int?>.CommitTriggersProperty
- DataGridPartEditBoxColumnBase<int?>.HasPopupProperty
- DataGridPartEditBoxColumnBase<int?>.IsArrowKeyPartNavigationEnabledProperty
- DataGridPartEditBoxColumnBase<int?>.IsEditableProperty
- DataGridPartEditBoxColumnBase<int?>.IsNullAllowedProperty
- DataGridPartEditBoxColumnBase<int?>.IsUndoEnabledProperty
- DataGridPartEditBoxColumnBase<int?>.PlaceholderTextProperty
- DataGridPartEditBoxColumnBase<int?>.SpinnerVisibilityProperty
- DataGridPartEditBoxColumnBase<int?>.SpinWrappingProperty
- DataGridPartEditBoxColumnBase<int?>.TextAlignmentProperty
- DataGridPartEditBoxColumnBase<int?>.GenerateEditBox(bool, DataGridCell)
- DataGridPartEditBoxColumnBase<int?>.GenerateEditingElement(DataGridCell, object)
- DataGridPartEditBoxColumnBase<int?>.GenerateElement(DataGridCell, object)
- DataGridPartEditBoxColumnBase<int?>.PrepareCellForEdit(FrameworkElement, RoutedEventArgs)
- DataGridPartEditBoxColumnBase<int?>.DefaultEditingElementStyle
- DataGridPartEditBoxColumnBase<int?>.DefaultElementStyle
- DataGridPartEditBoxColumnBase<int?>.CommitTriggers
- DataGridPartEditBoxColumnBase<int?>.IsEditable
- DataGridPartEditBoxColumnBase<int?>.IsNullAllowed
- DataGridPartEditBoxColumnBase<int?>.IsUndoEnabled
- DataGridPartEditBoxColumnBase<int?>.PlaceholderText
- DataGridPartEditBoxColumnBase<int?>.SpinWrapping
- DataGridPartEditBoxColumnBase<int?>.TextAlignment
- DataGridBoundColumnBase.ApplyBinding(FrameworkElement, DependencyProperty)
- DataGridBoundColumnBase.ApplyValue(DependencyProperty, FrameworkElement, DependencyProperty)
- DataGridBoundColumnBase.RefreshCellContent(FrameworkElement, string)