Properties of Button
- Id - unique identifier of the control
- GridData(LMS) - control's column values for Large, Medium and Small screens. Please refer to GridData for further details
- Label - text to be displayed in the button
- Icon - icon to be used by the button
- Set Fields if pressed - assign a particular value for the Bound Field defined in this setting
- Actions if pressed - a place to inject a custom code or action in the event that the button has been pressed. A common application of this is calling a Javascript Function or navigating to a particular page.
- Type - sets the type of button defined in SAPUI5 ButtonType
- Width - width setting
- Enabled - set a boolean value or a variable with type boolean from the Model to control the enable property
- Visible - set a boolean value or a variable with type boolean from the Model to control the visibility property
- ToolTip - text to be displayed when hovered to the button
- Style Class - assign a predefined SAPUI5 CSS or a CSS class defined in the CSS of the App
- Advanced - properties of the control not available in the above list can be added here. Setting Additional Properties provides additional information.
Step-by-step guide
How to add a Button
- Right click on a Form Element and select Add Button
- A Button control has been added
Related articles
Add Comment