示例#1
0
文件: ActionItem.cs 项目: Exe0/Eto
		public override ToolItem GenerateToolBarItem(Generator generator, ToolBarTextAlign textAlign)
		{
			var tbb = new SeparatorToolItem(generator) { Type = ToolBarType };
			if (!string.IsNullOrEmpty (ToolBarItemStyle))
				tbb.Style = ToolBarItemStyle;
			return tbb;
		}
示例#2
0
        public override ToolItem GenerateToolBarItem(Generator generator, ToolBarTextAlign textAlign)
        {
            var tbb = new SeparatorToolItem(generator)
            {
                Type = ToolBarType
            };

            if (!string.IsNullOrEmpty(ToolBarItemStyle))
            {
                tbb.Style = ToolBarItemStyle;
            }
            return(tbb);
        }