SubmitButton Properties

Add a Submit button as a static control to cause the form to be transmitted to the application at runtime.

Property

Function

Id

Read-only. By default, automatically generated. Id="SubmitButton1" for the first inserted SubmitButton, Id="SubmitButton2" for the second, and so on.

Name

Read-only. The value of this property is set to Static control.

BackgroundColor

Specifies a background color for the object. Select a color from one of the tabs in the drop-down list. Note that you can specify a custom color. If you change this value, you can restore the default value specified for the parent object by right-clicking the property and clicking Reset on the context menu.

BackgroundImage

Specifies an Image to display in the background of the control. The image is always displayed as a tiled image.

ControlType

Read-only. Specifies SubmitButton as the type of object added to the form.

Font

Specifies font attributes that are applied directly to the text appearing in the object. If you change this value, you can restore the default value specified for the parent object by right-clicking the property and clicking Reset on the context menu.

ForegroundColor

Specifies a foreground color for the object. Select a color from one of the tabs in the drop-down list. Note that you can specify a custom color. If you change this value, you can restore to the default value specified for the parent object by right-clicking the property and clicking Reset on the context menu.

Location

Specifies the point in pixels that represents the upper-left corner of the object relative to the upper-left corner of its container as an X and Y location.

Size

Specifies the size of the object representing the height and width in pixels.

TabIndex

Specifies the index that defines the tab order for the object.

Text

Specifies the text to be displayed on the object.

TextAlign

Specifies whether the text in the object is left-aligned, right-aligned, center-aligned, or justified.

ToolTip

Specifies an optional tooltip to appear when the user at runtime hovers the mouse over a control in Winforms. To view the tooltip in the Presentation Client, the user has to hover over the control and press the F1 key. This tooltip is visible only at runtime.