Click or drag to resize

PFActionsBarButton Properties

The PFActionsBarButton type exposes the following members.

Properties
  NameDescription
Public propertyActionMode
Gets or sets the type of code/behavior to execute when the button is clicked.
Public propertyActionName
Gets or sets the name of the action that will be called on the MVC controller (if action mode is Controller)
Public propertyConfirmationSettings
Gets or sets the confirmation settings.

Initialize this object if you want to ask a confirmation before executing the action.

Public propertyEnabled
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.

Public propertyEnableSpinner
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.
Public propertyImage
Gets or sets the Font-Awesome image's class, use PFImagesHtmlHelper to get image classes.
Public propertyJavascriptCode
Gets or sets the JavaScript code called on click (if action mode is set to JavaScript).
Public propertyName
Gets or sets the button name. Available in the 'ButtonName' property for client codes.
Public propertyTitle
Gets or sets the button title.
Public propertyTooltip_Mode
Gets or sets the indicating how the tooltip should behave.
Public propertyTooltip_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.
Public propertyTooltipContent
Gets or sets the tooltip text, displayed if not null and if TooltipMode is not set to None.
Public propertyUrl
Gets or sets the url of the link (if action mode is set to Url).
Public propertyVisible
Gets or sets a value indicating whether this PFActionsBarObject is visible.
(Inherited from PFActionsBarObject.)
Top
See Also