Skip to main content
Version: 3.5

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

Instance memberUpDownBase()

Initializes a new instance of the UpDownBase class.

Properties

Instance memberAutoSize

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

Instance memberBorderStyle

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

Instance memberEditable

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

Instance memberEnableNativeContextMenu

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

Instance memberHideUpDownButtons

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

Instance memberInterceptArrowKeys

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

Instance memberInvalid

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

Instance memberInvalidMessage

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

Instance memberLabel

LabelWrapper: Provides a label related to the control.

Instance memberLabelText

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

Instance memberMaximumSize

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

Instance memberMinimumSize

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

Instance memberReadOnly

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

Instance memberSelectOnEnter

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

Instance memberTextAlign

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

Instance memberUpDownAlign

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.

Instance memberWrap

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

Instance memberAutoSizeChanged

EventHandler Fired when the value of the AutoSize property changes.

Instance memberEditableChanged

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

Instance memberReadOnlyChanged

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

Inherited By

NameDescription
DomainUpDownRepresents a spinner control that displays string values.
NumericUpDownRepresents a spinner control that displays numeric values.
DataGridViewNumericUpDownEditingControlRepresents a NumericUpDown control that can be hosted in a DataGridViewNumericUpDownCell.
TimeUpDownRepresents a spinner control that displays TimeSpan values.

Implements

NameDescription
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
ILabelProvides access to the LabelWrapper associated with the controls that implement this interface.
IReadOnlyProvides access to the ReadOnly property for coontrols that support the read-only mode.
IValidationProvides access to the validation events and properties property for controls that support validation.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.