Class ActionButton
ActionButton provides a button (or group of buttons) for action(s).
Implements
Inherited Members
Namespace: DotNetNuke.UI.Containers
Assembly: DotNetNuke.dll
Syntax
public class ActionButton : ActionBase, IActionControl
Remarks
ActionBase inherits from UserControl, and implements the IActionControl Interface.
Properties
| Improve this Doc View SourceButtonSeparator
Gets or sets the Separator between Buttons.
Declaration
public string ButtonSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
Remarks
Defaults to 2 non-breaking spaces.
CommandName
Gets or sets the Command Name.
Declaration
public string CommandName { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
Remarks
Maps to ModuleActionType in DotNetNuke.Entities.Modules.Actions.
CssClass
Gets or sets the CSS Class.
Declaration
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
Remarks
Defaults to 'CommandButton'.
DisplayIcon
Gets or sets a value indicating whether gets or sets whether the icon is displayed.
Declaration
public bool DisplayIcon { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A Boolean. |
Remarks
Defaults to False.
DisplayLink
Gets or sets a value indicating whether gets or sets whether the link is displayed.
Declaration
public bool DisplayLink { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A Boolean. |
Remarks
Defaults to True.
IconFile
Gets or sets the Icon used.
Declaration
public string IconFile { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
Remarks
Defaults to the icon defined in Action.
Methods
| Improve this Doc View SourceCreateChildControls()
CreateChildControls builds the control tree.
Declaration
protected override void CreateChildControls()
Remarks
ActionBase inherits from UserControl, and implements the IActionControl Interface.