UpDownBase
Wisej.Web.UpDownBase
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.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
)
DefaultSize

Size: Returns the default size of the control.
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
)
Methods
OnEditableChanged(e)

Fires the EditableChanged event.
OnReadOnlyChanged(e)

Fires the ReadOnlyChanged event.
OnValidating(e)

Fires the Validating event.
OnWebEvent(e)

Processes the event from the client.
OnWebRender(config)

Renders the client component.
SetBoundsCore(x, y, width, height, specified)

Sets the specified bounds of the ComboBox control.
UpdateEditText()

When overridden in a derived class, updates the text displayed in the spin box (also known as an up-down control).
ValidateEditText()

When overridden in a derived class, validates the text displayed in the spin box (also known as an up-down control).
Returns: Boolean. True if the text represents a valid value.
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
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
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
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 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
Was this helpful?