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