Mashup Builder > Widgets > Legacy Widgets > Button Widget (Legacy)
Button Widget (Legacy)
The button widget triggers an event when it is clicked by the user in run time.
* 
Styles and common widget properties are not included in the table below.
Property Name
Description
Base Type
Default Value
Bindable? (Y/N)
Localizable? (Y/N)
CustomClass
User defined CSS class to apply to the top div of the widget. Multiple classes can be entered, separated by a space.
STRING
n/a
Y
N
Label
The text on the button.
STRING
Button
N
Y
TabSequence
The index of the Button widget in the tab sequence.
NUMBER
0
N
N
ConfirmationRequired
Option to require a confirmation dialog to display when the user clicks the button.
BOOLEAN
False
N
N
ConfirmationTitle
If ConfirmationRequired is set to true, sets the title of the dialog.
STRING
Confirm Action
N
Y
ConfirmationPrompt
If ConfirmationRequired is set to true, the body text of the dialog.
STRING
Do Action?
N
Y
ConfirmationButton1Label
If ConfirmationRequired is set to true, the text of the first button in the dialog.
STRING
Yes
N
Y
ConfirmationButton2Label
If ConfirmationRequired is set to true, the text of the second button in the dialog.
STRING
No
N
Y
DefaultConfirmationButton
The default button for the confirmation dialog.
STRING
First Button
N
N
CancelConfirmationButton
The default button to cancel the confirmation.
STRING
Second Button
N
N
RoundedCorners
Rounds the corners of the button.
BOOLEAN
True
N
N
Disabled
Disables the button in run time.
BOOLEAN
False
Y
N
IconAlignment
The alignment of the button: left or right.
STRING
Left
N
N
ToolTipField
Optional tooltip field that will be displayed when a user hovers over the button in run time.
STRING
n/a
Y
Y
ShowDataLoading
Displays a spinning icon when data is loading.
BOOLEAN
True
N
N
Clicked
Event. The event that is triggered when the button is clicked.
n/a
n/a
Y
N
Visible
Sets the visibility of the widget in run time.
BOOLEAN
True
Y
N
Was this helpful?