PFActionsBarButton Properties |
The PFActionsBarButton type exposes the following members.
Name | Description | |
---|---|---|
ActionMode |
Gets or sets the type of code/behavior to execute when the button is clicked.
| |
ActionName |
Gets or sets the name of the action that will be called
on the MVC controller (if action mode is Controller)
| |
ConfirmationSettings |
Gets or sets the confirmation settings.
Initialize this object if you want to ask a confirmation before executing the action. | |
Enabled |
Gets or sets a value indication whether this button is enabled or not.
If false, a disabled style will be applied and the button will have no click (re)action. | |
EnableSpinner |
Gets or sets a value indicating whether a spinner is shown
on the button when it is clicked.
This is only relevant for buttons using the "Controller" action mode.
This is recommended to set this value to False for actions returning a file. Default value: True. | |
Image |
Gets or sets the Font-Awesome image's class, use PFImagesHtmlHelper to get image classes.
| |
JavascriptCode |
Gets or sets the JavaScript code called on click (if action mode is set to JavaScript).
| |
Name |
Gets or sets the button name.
Available in the 'ButtonName' property for client codes.
| |
Title |
Gets or sets the button title.
| |
Tooltip_Mode |
Gets or sets the indicating how the tooltip should behave.
| |
Tooltip_ShowOnLoad |
Gets or sets a value indicating whether the tooltip should shown on page load.
Applies only if the tooltip mode is set to Persistent and only for first-level buttons.
| |
TooltipContent |
Gets or sets the tooltip text, displayed if not null
and if TooltipMode is not set to None.
| |
Url |
Gets or sets the url of the link (if action mode is set to Url).
| |
Visible |
Gets or sets a value indicating whether
this PFActionsBarObject is visible.
(Inherited from PFActionsBarObject.) |