示例#1
0
            public async Task <MenuList> __GetCommandsAsync()
            {
                MenuList actions = new MenuList()
                {
                    RenderMode = ModuleAction.RenderModeEnum.IconsOnly
                };

                actions.New(await DisplayModule.GetAction_DisplayAsync(Module.DisplayUrl, Id), ModuleAction.ActionLocationEnum.GridLinks);
                actions.New(Module.GetAction_Remove(Id), ModuleAction.ActionLocationEnum.GridLinks);
                return(actions);
            }