BinaryTreeListViewNumericUpDownColumn
A specialist column class that renders our custom NumericUpDown control as the editing control for teh column's cell.
public class BinaryTreeListViewNumericUpDownColumn : DataGridViewColumn
Inherits from / implements: DataGridViewColumn
Members at a glance
BinaryTreeListViewNumericUpDownColumn | Initializes a new instance of the BinaryTreeListViewNumericUpDownColumn class. |
BorderColor | Gets or sets the color of the control's border, when the mouse is over it or it has the focus. |
BorderStyle | The BinaryNumericUpDown control only supports a fixed 3D border style. |
CellTemplate | The cell this column stamps out for each row. It will only accept a numeric up-down cell, since the column's own settings mean nothing to any other cell type. |
DecimalPlaces | Gets or sets the decimal places for the control. |
DrawStyleIsFlat | Gets or sets whether the control is to be drawn with a "flat" look or with a 3D look. |
Increment | Gets or sets the incremet value for the control. |
Maximum | Gets or sets the Maximum value for the control. |
Minimum | Gets or sets the Minimum value for the control. |
ShowBorderAlways | Gets or sets whether the control will always have its border displayed, even when the control is not currently in focus. |
ThousandsSeparator | Gets or sets the Thousands separator aspect for the control. |
UpDownArrowPressedBackColor | Gets or sets the color of the internal buttons (where the Up and Down arrows are painted), when they are in pressed state. |
UpDownArrowsColor | Gets or sets the color of the Up and down arrow marks. |
UpDownButtonNormalBackColor | Gets or sets the color of the internal buttons (where the Up and Down arrows are painted), when they are not in focussed state (when the input focus is not on them). |
UpDownButtonOnFocusBackColor | Gets or sets the color of the internal buttons (where the Up and Down arrows are painted), when they are in focussed state (when the input focus is on them). |
Clone | Creates a copy of this BinaryTreeListViewNumericUpDownColumn, carrying across every setting this type adds to the base implementation. |
ToString | Returns a short description of this BinaryTreeListViewNumericUpDownColumn, which is what the designer shows for the property. |
Constructors
BinaryTreeListViewNumericUpDownColumn
Initializes a new instance of the BinaryTreeListViewNumericUpDownColumn class.
Properties
BorderColor
Gets or sets the color of the control's border, when the mouse is over it or it has the focus.
BorderStyle
The BinaryNumericUpDown control only supports a fixed 3D border style.
CellTemplate
The cell this column stamps out for each row. It will only accept a numeric up-down cell, since the column's own settings mean nothing to any other cell type.
DecimalPlaces
Gets or sets the decimal places for the control.
DrawStyleIsFlat
Gets or sets whether the control is to be drawn with a "flat" look or with a 3D look.
If you need to paint the control emulating the standard .NET framework
NumericUpDown 3D style, set this property to false.Increment
Gets or sets the incremet value for the control.
Maximum
Gets or sets the Maximum value for the control.
Minimum
Gets or sets the Minimum value for the control.
ShowBorderAlways
Gets or sets whether the control will always have its border displayed, even when the control is not currently in focus.
By default, this property is set to true.
ThousandsSeparator
Gets or sets the Thousands separator aspect for the control.
UpDownArrowPressedBackColor
Gets or sets the color of the internal buttons (where the Up and Down arrows are painted), when they are in pressed state.
UpDownArrowsColor
Gets or sets the color of the Up and down arrow marks.
UpDownButtonNormalBackColor
Gets or sets the color of the internal buttons (where the Up and Down arrows are painted), when they are not in focussed state (when the input focus is not on them).
UpDownButtonOnFocusBackColor
Gets or sets the color of the internal buttons (where the Up and Down arrows are painted), when they are in focussed state (when the input focus is on them).
Methods
Clone
Creates a copy of this BinaryTreeListViewNumericUpDownColumn, carrying across every setting this type adds to the base implementation.
ToString
Returns a short description of this BinaryTreeListViewNumericUpDownColumn, which is what the designer shows for the property.