Displays a menu consisting of ModuleActions (YetaWF.Core.Menus.MenuList). A menu consists of zero, one or more ModuleActions. May be null, in which case nothing is rendered. ModuleActions are used throughout YetaWF and define a specific action a user can take, typically a link or button which directs to a URL.
Model Type: YetaWF.Core.Components.MenuList
Name | Type | Default | Description |
---|---|---|---|
GridActionsEnum | Grid.GridActionsEnum | GridActionsEnum.Icons | Defines the appearance of the module actions. |
[Caption("Actions"), Description("All available actions")] [UIHint("ActionIcons"), ReadOnly] public MenuList Commands { get { MenuList actions = new MenuList() { RenderMode = ModuleAction.RenderModeEnum.IconsOnly }; actions.New(Module.GetAction_DownloadLink(FileName), ModuleAction.ActionLocationEnum.GridLinks); actions.New(Module.GetAction_RemoveLink(FileName), ModuleAction.ActionLocationEnum.GridLinks); return actions; } }
Last Updated 02/21/2021 - (email)
© 2021 - Softel vdm, Inc. - YetaWF.com