Class ActionButtonList
ActionButtonList provides a list of buttons for a group of actions of the same type.
Inheritance
Implements
Namespace: DotNetNuke.UI.Containers
Assembly: DotNetNuke.dll
Syntax
public class ActionButtonList : CompositeControl, IActionControl
Remarks
ActionButtonList inherits from CompositeControl, and implements the IActionControl Interface. It uses a single ActionCommandButton for each Action.
Properties
| Improve this Doc View SourceActionManager
Gets the ActionManager instance for this Action control.
Declaration
public ActionManager ActionManager { get; }
Property Value
| Type | Description |
|---|---|
| ActionManager | An ActionManager object. |
Remarks
ActionButtonList inherits from CompositeControl, and implements the IActionControl Interface. It uses a single ActionCommandButton for each Action.
ButtonSeparator
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.
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.
ImageURL
Gets or sets the Icon used.
Declaration
public string ImageURL { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | A String. |
Remarks
Defaults to the icon defined in Action.
ModuleActions
Gets the ModuleActionCollection to bind to the list.
Declaration
protected ModuleActionCollection ModuleActions { get; }
Property Value
| Type | Description |
|---|---|
| ModuleActionCollection | A ModuleActionCollection. |
Remarks
ActionButtonList inherits from CompositeControl, and implements the IActionControl Interface. It uses a single ActionCommandButton for each Action.
ModuleControl
Gets or sets the ModuleControl instance for this Action control.
Declaration
public IModuleControl ModuleControl { get; set; }
Property Value
| Type | Description |
|---|---|
| IModuleControl | An IModuleControl object. |
Remarks
ActionButtonList inherits from CompositeControl, and implements the IActionControl Interface. It uses a single ActionCommandButton for each Action.
Methods
| Improve this Doc View SourceOnAction(ActionEventArgs)
OnAction raises the Action Event.
Declaration
protected virtual void OnAction(ActionEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| ActionEventArgs | e |
Remarks
ActionButtonList inherits from CompositeControl, and implements the IActionControl Interface. It uses a single ActionCommandButton for each Action.
OnLoad(EventArgs)
OnLoad runs when the control is loaded into the Control Tree.
Declaration
protected override void OnLoad(EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| EventArgs | e |
Remarks
ActionButtonList inherits from CompositeControl, and implements the IActionControl Interface. It uses a single ActionCommandButton for each Action.
Events
| Improve this Doc View SourceAction
The eventhandler for the action.
Declaration
public event ActionEventHandler Action
Event Type
| Type | Description |
|---|---|
| ActionEventHandler |
Remarks
ActionButtonList inherits from CompositeControl, and implements the IActionControl Interface. It uses a single ActionCommandButton for each Action.