Interface IMenuItemController
Namespace: Dnn.PersonaBar.Library.Controllers
Assembly: Dnn.PersonaBar.Library.dll
Syntax
public interface IMenuItemController
Methods
| Improve this Doc View SourceGetSettings(MenuItem)
get menu settings.
Declaration
IDictionary<string, object> GetSettings(MenuItem menuItem)
Parameters
Type | Name | Description |
---|---|---|
MenuItem | menuItem | The menu item. |
Returns
Type | Description |
---|---|
IDictionary<System.String, System.Object> | An |
UpdateParameters(MenuItem)
Update menu item parameters.
Declaration
void UpdateParameters(MenuItem menuItem)
Parameters
Type | Name | Description |
---|---|---|
MenuItem | menuItem | The menu item. |
Visible(MenuItem)
whether the menu item visible in current context.
Declaration
bool Visible(MenuItem menuItem)
Parameters
Type | Name | Description |
---|---|---|
MenuItem | menuItem | The menu item. |
Returns
Type | Description |
---|---|
System.Boolean | true if the menu item is visible, otherwise false. |