コード例 #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
ファイル: ActionItem.cs プロジェクト: sami1971/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);
        }