DataGridInt32RectColumn Class
Represents a data-bound column for use in a DataGrid
that utilizes the Int32RectEditBox control.
public class DataGridInt32RectColumn : DataGridPartEditBoxColumnBase<Int32Rect?>
- Inheritance:
- Object DispatcherObject DependencyObject DataGridColumn DataGridBoundColumn DataGridBoundColumnBase DataGridPartEditBoxColumnBase<Nullable<Int32Rect>> Object
Constructors
DataGridInt32RectColumn()
Initializes an instance of the DataGridInt32RectColumn class.
public DataGridInt32RectColumn()
Properties
DefaultValue
Gets or sets the value to set when incrementing/decrementing from a null value.
public Int32Rect DefaultValue { get; set; }
Property Value
- Int32Rect:
The value to set when incrementing/decrementing from a null value. The default value is
0
.
Format
Gets or sets the number format string.
public string Format { get; set; }
Property Value
- String:
The number format string. The default value is
"G"
.
LargeChange
Gets or sets the large change value.
public Int32Rect LargeChange { get; set; }
Property Value
- Int32Rect:
The large change value. The default value is
5
.
Maximum
Gets or sets the highest possible value.
Minimum
Gets or sets the lowest possible value.
SmallChange
Gets or sets the small change value.
public Int32Rect SmallChange { get; set; }
Property Value
- Int32Rect:
The small change value. 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()
Gets the type of the associated PartEditBoxBase
-derived control.
protected override Type GetEditBoxType()
Returns
- Type:
The type of the associated
PartEditBoxBase
-derived control.
Fields
DefaultValueProperty
Identifies the DefaultValue dependency property. This field is read-only.
public static readonly DependencyProperty DefaultValueProperty
FormatProperty
Identifies the Format dependency property. This field is read-only.
public static readonly DependencyProperty FormatProperty
LargeChangeProperty
Identifies the LargeChange dependency property. This field is read-only.
public static readonly DependencyProperty LargeChangeProperty
MaximumProperty
Identifies the Maximum dependency property. This field is read-only.
public static readonly DependencyProperty MaximumProperty
MinimumProperty
Identifies the Minimum dependency property. This field is read-only.
public static readonly DependencyProperty MinimumProperty
SmallChangeProperty
Identifies the SmallChange dependency property. This field is read-only.
public static readonly DependencyProperty SmallChangeProperty
Inherited Members
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.CommitTriggersProperty
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.HasPopupProperty
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.IsArrowKeyPartNavigationEnabledProperty
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.IsEditableProperty
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.IsNullAllowedProperty
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.IsUndoEnabledProperty
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.PlaceholderTextProperty
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.SpinnerVisibilityProperty
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.SpinWrappingProperty
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.TextAlignmentProperty
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.GenerateEditBox(Boolean, DataGridCell)
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.GenerateEditingElement(DataGridCell, Object)
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.GenerateElement(DataGridCell, Object)
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.PrepareCellForEdit(FrameworkElement, RoutedEventArgs)
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.DefaultEditingElementStyle
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.DefaultElementStyle
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.CommitTriggers
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.HasPopup
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.IsArrowKeyPartNavigationEnabled
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.IsEditable
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.IsNullAllowed
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.IsUndoEnabled
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.PlaceholderText
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.SpinnerVisibility
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.SpinWrapping
- DataGridPartEditBoxColumnBase<Nullable<Int32Rect>>.TextAlignment
- DataGridBoundColumnBase.ApplyBinding(FrameworkElement, DependencyProperty)
- DataGridBoundColumnBase.ApplyValue(DependencyProperty, FrameworkElement, DependencyProperty)
- DataGridBoundColumnBase.RefreshCellContent(FrameworkElement, String)
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()