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); }
protected ToolBarItemDefinition(ToolBarItemGroupDefinition group, int sortOrder, ToolBarItemDisplay display) { Group = group; SortOrder = sortOrder; Display = display; IoC.RegisterConstant(this); }
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) { }