示例#1
0
        public IHtmlNode CreateToolBar(GridToolBarData toolBarData)
        {
            if (toolBarData.Template.HasValue())
            {
                return(toolBarBuilder.CreateToolBar(toolBarData.Template));
            }

            return(toolBarBuilder.CreateToolBar(toolBarData.Commands.SelectMany(command => command.CreateDisplayButtons(toolBarData.UrlBuilder, null))));
        }
        public IHtmlNode CreateToolBar(GridToolBarData toolBarData)
        {
            if (toolBarData.Template.HasValue())
            {
                return toolBarBuilder.CreateToolBar(toolBarData.Template);
            }

            return toolBarBuilder.CreateToolBar(toolBarData.Commands.SelectMany(command => command.CreateDisplayButtons(toolBarData.UrlBuilder, null)));
        }
示例#3
0
 protected virtual IHtmlNode CreateToolBar(GridToolBarData toolBarData)
 {
     return(FunctionalSectionBuilder.CreateToolBar(toolBarData));
 }
示例#4
0
 protected virtual IHtmlNode CreateToolBar(GridToolBarData toolBarData)
 {
     return FunctionalSectionBuilder.CreateToolBar(toolBarData);
 }