Ejemplo n.º 1
0
 public ControlMenuItem SetParent(AddControlMenuItem parent)
 {
     this._parent = parent;
     return(this);
 }
Ejemplo n.º 2
0
 public ControlMenuItem(object content, string resourceToolTip = null, Type typeElement = null, AddControlMenuItem parent = null, CommandExecution active = null, CommandExecution canActive = null)
 {
     this._content         = content;
     this._element         = null;
     this._typeElement     = typeElement;
     this._active          = active;
     this._canActive       = canActive;
     this._parent          = parent;
     this._resourceToolTip = resourceToolTip;
 }