DataGridInt32RectColumn Class
Represents a data-bound column for use in a DataGrid that utilizes the Int32RectEditBox control.
public class DataGridInt32RectColumn : DataGridPartEditBoxColumnBase<Int32Rect?>
- Inheritance:
- object DataGridColumn DataGridBoundColumn DataGridBoundColumnBase DataGridPartEditBoxColumnBase<Int32Rect?> object
Constructors
DataGridInt32RectColumn()
Initializes the class.
public DataGridInt32RectColumn()
Properties
DefaultValue
The value to set when incrementing/decrementing from a null value.
public Int32Rect DefaultValue { get; set; }
Property Value
- Int32Rect:
The default value is
0.
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.
LargeChange
The large change value.
public Int32Rect LargeChange { get; set; }
Property Value
- Int32Rect:
The default value is
5.
Maximum
The highest possible value.
public Int32Rect Maximum { get; set; }
Property Value
- Int32Rect
Minimum
The lowest possible value.
public Int32Rect Minimum { get; set; }
Property Value
- Int32Rect
SmallChange
The small change value.
public Int32Rect SmallChange { get; set; }
Property Value
- Int32Rect:
The default value is
1.
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
SmallChangeProperty
Defines the SmallChange property.
public static readonly DependencyProperty SmallChangeProperty
Inherited Members
- DataGridPartEditBoxColumnBase<Int32Rect?>.CommitTriggersProperty
- DataGridPartEditBoxColumnBase<Int32Rect?>.HasPopupProperty
- DataGridPartEditBoxColumnBase<Int32Rect?>.IsArrowKeyPartNavigationEnabledProperty
- DataGridPartEditBoxColumnBase<Int32Rect?>.IsEditableProperty
- DataGridPartEditBoxColumnBase<Int32Rect?>.IsNullAllowedProperty
- DataGridPartEditBoxColumnBase<Int32Rect?>.IsUndoEnabledProperty
- DataGridPartEditBoxColumnBase<Int32Rect?>.PlaceholderTextProperty
- DataGridPartEditBoxColumnBase<Int32Rect?>.SpinnerVisibilityProperty
- DataGridPartEditBoxColumnBase<Int32Rect?>.SpinWrappingProperty
- DataGridPartEditBoxColumnBase<Int32Rect?>.TextAlignmentProperty
- DataGridPartEditBoxColumnBase<Int32Rect?>.GenerateEditBox(bool, DataGridCell)
- DataGridPartEditBoxColumnBase<Int32Rect?>.GenerateEditingElement(DataGridCell, object)
- DataGridPartEditBoxColumnBase<Int32Rect?>.GenerateElement(DataGridCell, object)
- DataGridPartEditBoxColumnBase<Int32Rect?>.PrepareCellForEdit(FrameworkElement, RoutedEventArgs)
- DataGridPartEditBoxColumnBase<Int32Rect?>.DefaultEditingElementStyle
- DataGridPartEditBoxColumnBase<Int32Rect?>.DefaultElementStyle
- DataGridPartEditBoxColumnBase<Int32Rect?>.CommitTriggers
- DataGridPartEditBoxColumnBase<Int32Rect?>.IsArrowKeyPartNavigationEnabled
- DataGridPartEditBoxColumnBase<Int32Rect?>.IsEditable
- DataGridPartEditBoxColumnBase<Int32Rect?>.IsNullAllowed
- DataGridPartEditBoxColumnBase<Int32Rect?>.IsUndoEnabled
- DataGridPartEditBoxColumnBase<Int32Rect?>.PlaceholderText
- DataGridPartEditBoxColumnBase<Int32Rect?>.SpinWrapping
- DataGridPartEditBoxColumnBase<Int32Rect?>.TextAlignment
- DataGridBoundColumnBase.ApplyBinding(FrameworkElement, DependencyProperty)
- DataGridBoundColumnBase.ApplyValue(DependencyProperty, FrameworkElement, DependencyProperty)
- DataGridBoundColumnBase.RefreshCellContent(FrameworkElement, string)