System.Windows.Forms.UpDownBase: Property Members

The properties of System.Windows.Forms.UpDownBase are listed below. For a list of all members, see the UpDownBase Members list.

See Also: Inherited members from System.Windows.Forms.ContainerControl

Public Properties

override
AutoScrollbool.

Gets a value indicating whether the container will allow the user to scroll to any controls placed outside of its visible boundaries.

AutoScrollMarginSystem.Drawing.Size.

Gets or sets the size of the auto-scroll margin.

AutoScrollMinSizeSystem.Drawing.Size.

Gets or sets the minimum size of the auto-scroll area.

override
AutoSizebool.

Gets or sets a value indicating whether the control should automatically resize based on its contents.

override
BackColorSystem.Drawing.Color.

Gets or sets the background color for the text box portion of the spin box (also known as an up-down control).

override
BackgroundImageSystem.Drawing.Image.

Gets or sets the background image for the System.Windows.Forms.UpDownBase.

override
BackgroundImageLayoutImageLayout.

Gets or sets the layout of the UpDownBase.BackgroundImage of the System.Windows.Forms.UpDownBase.

BorderStyleBorderStyle.

Gets or sets the border style for the spin box (also known as an up-down control).

override
ContextMenuContextMenu.

Gets or sets the shortcut menu associated with the spin box (also known as an up-down control).

override
ContextMenuStripContextMenuStrip.

Gets or sets the shortcut menu for the spin box (also known as an up-down control).

[read-only]
DockPaddingScrollableControl.DockPaddingEdges.

Gets the dock padding settings for all edges of the System.Windows.Forms.UpDownBase control.

[read-only]
override
Focusedbool.

Returns true if this control has focus.

override
ForeColorSystem.Drawing.Color.

Gets or sets the foreground color of the spin box (also known as an up-down control).

InterceptArrowKeysbool.

Gets or sets a value indicating whether the user can use the UP ARROW and DOWN ARROW keys to select values.

override
MaximumSizeSystem.Drawing.Size.

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

override
MinimumSizeSystem.Drawing.Size.

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

[read-only]
PreferredHeightint.

Gets the height of the spin box (also known as an up-down control).

ReadOnlybool.

Gets or sets a value indicating whether the text can be changed by the use of the up or down buttons only.

override
Textstring.

Gets or sets the text displayed in the spin box (also known as an up-down control).

TextAlignHorizontalAlignment.

Gets or sets the alignment of the text in the spin box (also known as an up-down control).

UpDownAlignLeftRightAlignment.

Gets or sets the alignment of the up and down buttons on the spin box (also known as an up-down control).

Protected Properties

ChangingTextbool.

Gets or sets a value indicating whether the text property is being changed internally by its parent class.

[read-only]
override
CreateParamsCreateParams.

Gets the required creation parameters when the control handle is created.

[read-only]
override
DefaultSizeSystem.Drawing.Size.

Gets the default size of the control.

UserEditbool.

Gets or sets a value indicating whether a value has been entered by the user.