Click or drag to resize
HeaderAction Class
Class for the header action.
Inheritance Hierarchy
SystemObject
  CMS.Base.Web.UINavigationItem
    CMS.Base.Web.UI.ActionsConfigHeaderAction
      More...

Namespace: CMS.Base.Web.UI.ActionsConfig
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 10.0.0
Syntax
C#
public class HeaderAction : NavigationItem

The HeaderAction type exposes the following members.

Constructors
  NameDescription
Public methodHeaderAction
Constructor
Top
Properties
  NameDescription
Public propertyAlternativeActions
Alternative actions to be displayed in context menu.
Public propertyBaseButton
Button to replace.
Public propertyButtonStyle
Style of the header action button. Only applicable when action has no alternative actions. Multi-button (button displaying alternative actions) is always default.
Public propertyCommandArgument
Command argument of the action.
Public propertyCommandName
Name of the command representing the action.
Public propertyCssClass
CSS class of the item.
(Inherited from NavigationItem.)
Public propertyCultureCode
UI culture code.
Public propertyDialogHeight
If action opens dialog, set dialog height
Public propertyDialogWidth
If action opens dialog, set dialog width
Public propertyEnabled
Indicates if the action is enabled.
Public propertyEventName
Name of the event.
Public propertyGenerateSeparatorBeforeAction
Indicates whether separator class should be used before current item
Public propertyInactive
Indicates if the action is inactive. Only applicable when action has alternative action. When inactive action can't be executed. Clicking on the action is used to toggle the visibility of alternative actions.
Public propertyIndex
Index of the action.
Public propertyOnClientClick
The JavaScript executed on client click event.
(Overrides NavigationItemOnClientClick.)
Public propertyOpenInDialog
If true, the action opens in dialog
Public propertyPermission
Permission name to check. For Permission check to work, both Resource name and Permission must be filled.
Public propertyRedirectUrl
The URL for redirection.
(Inherited from NavigationItem.)
Public propertyRegisterShortcutScript
Indicates if save shortcut script should be registered
Public propertyResourceName
Resource name. For Permission check to work, both Resource name and Permission must be filled.
Public propertyTarget
Target for hyperlink.
Public propertyText
Specifies the caption of the item. Sample value: "Caption string" (Has higher priority than the resource string.)
(Overrides NavigationItemText.)
Public propertyTooltip
Specifies the the tooltip of the item (string.empty: empty, null: usually copies caption or custom string). (Has higher priority than the tooltip resource string.)
(Inherited from NavigationItem.)
Public propertyValidationGroup
Validation group name.
Public propertyVisible
Indicates if the action should be visible.
Top
Methods
  NameDescription
Public methodIsVisible
Indicates if the action should be visible due to attributes values
Top
See Also
Inheritance Hierarchy
SystemObject
  CMS.Base.Web.UINavigationItem
    CMS.Base.Web.UI.ActionsConfigHeaderAction
      CMS.Base.Web.UI.ActionsConfigCommentAction
      CMS.Base.Web.UI.ActionsConfigCustomizeAction
      CMS.Base.Web.UI.ActionsConfigDeleteAction
      CMS.Base.Web.UI.ActionsConfigDocumentApproveAction
      CMS.Base.Web.UI.ActionsConfigDocumentArchiveAction
      CMS.Base.Web.UI.ActionsConfigDocumentCheckInAction
      CMS.Base.Web.UI.ActionsConfigDocumentCheckOutAction
      CMS.Base.Web.UI.ActionsConfigDocumentPublishAction
      CMS.Base.Web.UI.ActionsConfigDocumentRejectAction
      CMS.Base.Web.UI.ActionsConfigDocumentUndoCheckOutAction
      CMS.Base.Web.UI.ActionsConfigNextStepAction
      CMS.Base.Web.UI.ActionsConfigPreviousStepAction
      CMS.Base.Web.UI.ActionsConfigSaveAction