UpDownBase

Wisej.Web.UpDownBase

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Implements the basic functionality required by a spin box (also known as an up-down control).

public class UpDownBase : Control, ILabel, IReadOnly, IValidation

Constructors

UpDownBase()

Initializes a new instance of the UpDownBase class.

Properties

AutoSize

Boolean: Returns or sets whether the height of the control is set automatically. (Default: True)

BorderStyle

BorderStyle: Returns or sets the border style for the spin box (also known as an up-down control). (Default: Solid)

Editable

Boolean: Returns or sets whether the user can edit the text in the control. (Default: True)

EnableNativeContextMenu

Boolean: Enables or disables the browser's context menu. (Default: True)

HideUpDownButtons

Boolean: Returns or sets the visibility of the spinner buttons. (Default: False)

InterceptArrowKeys

Boolean: Returns or sets whether the user can use the UP ARROW and DOWN ARROW keys to select values. (Default: True)

Invalid

Boolean: Returns or sets a value that indicates that the control is invalid.

InvalidMessage

String: Returns or sets the invalid message that is shown in the invalid tooltip. (Default: "")

Label

LabelWrapper: Provides a label related to the control.

LabelText

String: Returns or sets the localizable label associated with this control. (Default: "")

MaximumSize

Size: Returns or sets the maximum size of the spin box (also known as an up-down control).

MinimumSize

Size: Returns or sets the minimum size of the spin box (also known as an up-down control).

ReadOnly

Boolean: Returns or sets whether the control is read-only. (Default: False)

SelectOnEnter

Boolean: Selects the text when gaining the focus. (Default: False)

TextAlign

HorizontalAlignment: Returns or sets the alignment of the text in the spin box (also known as an up-down control). (Default: Left)

UpDownAlign

HorizontalAlignment: Returns or sets the alignment of the up and down buttons on the spin box (also known as an up-down control). (Default: Right)

When this value is set to Center, the spin box (editable part of the control) is centered between the up and down buttons.

Wrap

Boolean: Returns or sets whether the collection of items continues to the first or last item if the user continues past the end of the list. (Default: False)

Events

AutoSizeChanged

EventHandler Fired when the value of the AutoSize property changes.

EditableChanged

EventHandler Fired when the value of the Editable property has changed.

ReadOnlyChanged

EventHandler Fired when the value of the ReadOnly property has changed.

Inherited By

NameDescription

Represents a spinner control that displays string values.

Represents a spinner control that displays numeric values.

Represents a NumericUpDown control that can be hosted in a DataGridViewNumericUpDownCell.

Represents a spinner control that displays TimeSpan values.

Implements

NameDescription

Bindable components implement this interface.

Controls that support drag & drop operations implement this interface.

Provides access to the LabelWrapper associated with the controls that implement this interface.

Provides access to the ReadOnly property for coontrols that support the read-only mode.

Provides access to the validation events and properties property for controls that support validation.

All wisej components implement this interface.

All wisej controls derived from the Control class must implement this interface.

Allows an object to serialize itself.

Last updated