public override void Generate(ToolBar toolBar) { var tbb = new SeparatorToolBarItem(toolBar.Generator) { Type = this.ToolBarType }; if (!string.IsNullOrEmpty (ToolBarItemStyle)) tbb.Style = ToolBarItemStyle; toolBar.Items.Add(tbb); }
public override ToolBarItem GenerateToolBarItem(Generator generator, ToolBarTextAlign textAlign) { var tbb = new SeparatorToolBarItem(generator) { Type = this.ToolBarType }; if (!string.IsNullOrEmpty (ToolBarItemStyle)) tbb.Style = ToolBarItemStyle; return tbb; }
public override void Generate(ToolBar toolBar) { var tbb = new SeparatorToolBarItem(toolBar.Generator) { Type = this.ToolBarType }; if (!string.IsNullOrEmpty(ToolBarItemStyle)) { tbb.Style = ToolBarItemStyle; } toolBar.Items.Add(tbb); }
public override ToolBarItem GenerateToolBarItem(Generator generator, ToolBarTextAlign textAlign) { var tbb = new SeparatorToolBarItem(generator) { Type = this.ToolBarType }; if (!string.IsNullOrEmpty(ToolBarItemStyle)) { tbb.Style = ToolBarItemStyle; } return(tbb); }