public CommandToolBarItemDefinition(ToolBarItemGroupDefinition group, int sortOrder,
                                     ToolBarItemDisplay display = ToolBarItemDisplay.IconOnly)
     : base(group, sortOrder, display)
 {
     _commandDefinition = IoC.Get <ICommandService>().GetCommandDefinition(typeof(TCommandDefinition));
     KeyGesture         = IoC.Get <ICommandKeyGestureService>().GetPrimaryKeyGesture(_commandDefinition);
 }
Ejemplo n.º 2
0
 protected ToolBarItemDefinition(ToolBarItemGroupDefinition group, int sortOrder, ToolBarItemDisplay display)
 {
     Group     = group;
     SortOrder = sortOrder;
     Display   = display;
     IoC.RegisterConstant(this);
 }
Ejemplo n.º 3
0
 protected ToolBarItemDefinition(ToolBarItemGroupDefinition group, int sortOrder, ToolBarItemDisplay display)
 {
     Group     = group;
     SortOrder = sortOrder;
     Display   = display;
 }
		protected ToolBarItemDefinition(ToolBarItemGroupDefinition group, int sortOrder, ToolBarItemDisplay display)
		{
			Group = group;
			SortOrder = sortOrder;
			Display = display;
		}
 public ToolBarItemDefinition(ToolBarItemGroupDefinition group, int sortOrder, ToolBarItemDisplay display = ToolBarItemDisplay.IconOnly) : base(group, sortOrder, display)
 {
 }