예제 #1
0
 public CreateCustomPanelMenuItemViewModel(CustomPanelType type, IObjectContainer variable, ICommand command, string header)
 {
     this.PanelType = type;
     this.Header    = header;
     this.Variable  = variable;
     this.Command   = command;
 }
예제 #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;
 }
예제 #3
0
 public CreateCustomPanelMenuItemViewModel(CustomPanelType type, ICommand command)
 {
     this.PanelType = type;
     this.Header    = type.Name;
     this.Command   = command;
 }