public CreateCustomPanelMenuItemViewModel(CustomPanelType type, IObjectContainer variable, ICommand command, string header) { this.PanelType = type; this.Header = header; this.Variable = variable; this.Command = command; }
public CreateCustomPanelMenuItemViewModel(CustomPanelType type, string @object, ICommand command) { this.PanelType = type; this.Header = type.Name + ((String.IsNullOrEmpty(@object)) ? "" : (" for " + @object)); this.Command = command; }
public CreateCustomPanelMenuItemViewModel(CustomPanelType type, ICommand command) { this.PanelType = type; this.Header = type.Name; this.Command = command; }