HypernovaDesktop Components · docs
Binarymission
WinFormsTree List View › BinaryTreeListViewNumericUpDownColumn

BinaryTreeListViewNumericUpDownColumn

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.TreeControls

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

BinaryTreeListViewNumericUpDownColumnInitializes a new instance of the BinaryTreeListViewNumericUpDownColumn class.
BorderColorGets or sets the color of the control's border, when the mouse is over it or it has the focus.
BorderStyleThe BinaryNumericUpDown control only supports a fixed 3D border style.
CellTemplateThe 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.
DecimalPlacesGets or sets the decimal places for the control.
DrawStyleIsFlatGets or sets whether the control is to be drawn with a "flat" look or with a 3D look.
IncrementGets or sets the incremet value for the control.
MaximumGets or sets the Maximum value for the control.
MinimumGets or sets the Minimum value for the control.
ShowBorderAlwaysGets or sets whether the control will always have its border displayed, even when the control is not currently in focus.
ThousandsSeparatorGets or sets the Thousands separator aspect for the control.
UpDownArrowPressedBackColorGets or sets the color of the internal buttons (where the Up and Down arrows are painted), when they are in pressed state.
UpDownArrowsColorGets or sets the color of the Up and down arrow marks.
UpDownButtonNormalBackColorGets 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).
UpDownButtonOnFocusBackColorGets 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).
CloneCreates a copy of this BinaryTreeListViewNumericUpDownColumn, carrying across every setting this type adds to the base implementation.
ToStringReturns a short description of this BinaryTreeListViewNumericUpDownColumn, which is what the designer shows for the property.

Constructors

BinaryTreeListViewNumericUpDownColumn

public BinaryTreeListViewNumericUpDownColumn() : base(new BinaryTreeListViewNumericUpDownCell())

Initializes a new instance of the BinaryTreeListViewNumericUpDownColumn class.

Properties

BorderColor

public Color BorderColor

Gets or sets the color of the control's border, when the mouse is over it or it has the focus.

BorderStyle

public BorderStyle BorderStyle

The BinaryNumericUpDown control only supports a fixed 3D border style.

CellTemplate

public override DataGridViewCell 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

public int DecimalPlaces

Gets or sets the decimal places for the control.

DrawStyleIsFlat

public bool DrawStyleIsFlat

Gets or sets whether the control is to be drawn with a "flat" look or with a 3D look.

The default style is the "flat" look and hence the default value is true.
If you need to paint the control emulating the standard .NET framework NumericUpDown 3D style, set this property to false.

Increment

public Decimal Increment

Gets or sets the incremet value for the control.

Maximum

public Decimal Maximum

Gets or sets the Maximum value for the control.

Minimum

public Decimal Minimum

Gets or sets the Minimum value for the control.

ShowBorderAlways

public bool ShowBorderAlways

Gets or sets whether the control will always have its border displayed, even when the control is not currently in focus.

If set to true, the control will always display its border even when the input focus is not on the control.
By default, this property is set to true.

ThousandsSeparator

public bool ThousandsSeparator

Gets or sets the Thousands separator aspect for the control.

UpDownArrowPressedBackColor

public Color 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

public Color UpDownArrowsColor

Gets or sets the color of the Up and down arrow marks.

UpDownButtonNormalBackColor

public Color 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

public Color 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

public override object Clone()

Creates a copy of this BinaryTreeListViewNumericUpDownColumn, carrying across every setting this type adds to the base implementation.

ToString

public override string ToString()

Returns a short description of this BinaryTreeListViewNumericUpDownColumn, which is what the designer shows for the property.