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