Class ActionsMenu
ActionsMenu provides a menu for a collection of actions.
Inheritance
Implements
Namespace: DotNetNuke.UI.Containers
Assembly: DotNetNuke.dll
Syntax
public class ActionsMenu : Control, IActionControl
Remarks
ActionsMenu inherits from CompositeControl, and implements the IActionControl Interface. It uses the Navigation Providers to implement the Menu.
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
ActionsMenu inherits from CompositeControl, and implements the IActionControl Interface. It uses the Navigation Providers to implement the Menu.
ActionRoot
Gets the ActionRoot.
Declaration
protected ModuleAction ActionRoot { get; }
Property Value
Type | Description |
---|---|
ModuleAction | A ModuleActionCollection. |
Remarks
ActionsMenu inherits from CompositeControl, and implements the IActionControl Interface. It uses the Navigation Providers to implement the Menu.
ExpandDepth
Gets or sets the Expansion Depth for the Control.
Declaration
public int ExpandDepth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An Integer. |
Remarks
ActionsMenu inherits from CompositeControl, and implements the IActionControl Interface. It uses the Navigation Providers to implement the Menu.
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
ActionsMenu inherits from CompositeControl, and implements the IActionControl Interface. It uses the Navigation Providers to implement the Menu.
PathSystemScript
Gets or sets the Path to the Script Library for the provider.
Declaration
public string PathSystemScript { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
Remarks
ActionsMenu inherits from CompositeControl, and implements the IActionControl Interface. It uses the Navigation Providers to implement the Menu.
PopulateNodesFromClient
Gets or sets a value indicating whether the Menu should be populated from the client.
Declaration
public bool PopulateNodesFromClient { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A Boolean. |
Remarks
ActionsMenu inherits from CompositeControl, and implements the IActionControl Interface. It uses the Navigation Providers to implement the Menu.
ProviderControl
Gets the Provider Control.
Declaration
protected NavigationProvider ProviderControl { get; }
Property Value
Type | Description |
---|---|
NavigationProvider | A NavigationProvider. |
Remarks
ActionsMenu inherits from CompositeControl, and implements the IActionControl Interface. It uses the Navigation Providers to implement the Menu.
ProviderName
Gets or sets the Name of the provider to use.
Declaration
public string ProviderName { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
Remarks
ActionsMenu inherits from CompositeControl, and implements the IActionControl Interface. It uses the Navigation Providers to implement the Menu.
Methods
| Improve this Doc View SourceBindMenu()
BindMenu binds the Navigation Provider to the Node Collection.
Declaration
protected void BindMenu()
Remarks
ActionsMenu inherits from CompositeControl, and implements the IActionControl Interface. It uses the Navigation Providers to implement the Menu.
OnAction(ActionEventArgs)
OnAction raises the Action Event.
Declaration
protected virtual void OnAction(ActionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ActionEventArgs | e |
Remarks
ActionsMenu inherits from CompositeControl, and implements the IActionControl Interface. It uses the Navigation Providers to implement the Menu.
OnInit(EventArgs)
OnInit runs during the controls initialisation phase.
Declaration
protected override void OnInit(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
Remarks
ActionsMenu inherits from CompositeControl, and implements the IActionControl Interface. It uses the Navigation Providers to implement the Menu.
OnLoad(EventArgs)
OnLoad runs during the controls load phase.
Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
Remarks
ActionsMenu inherits from CompositeControl, and implements the IActionControl Interface. It uses the Navigation Providers to implement the Menu.
OnPreRender(EventArgs)
OnPreRender runs during the controls pre-render phase.
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
Remarks
ActionsMenu inherits from CompositeControl, and implements the IActionControl Interface. It uses the Navigation Providers to implement the Menu.
Events
| Improve this Doc View SourceAction
The eventhandler for the action.
Declaration
public event ActionEventHandler Action
Event Type
Type | Description |
---|---|
ActionEventHandler |
Remarks
ActionsMenu inherits from CompositeControl, and implements the IActionControl Interface. It uses the Navigation Providers to implement the Menu.