Example #1
0
 /// <summary>
 /// Raises the DaggerUINodeAttached event on this Node
 /// </summary>
 /// <param name="uinode"></param>
 public void InvokeUINodeAttached(IDaggerUINode uinode)
 {
     if (DaggerUINodeAttached != null)
     {
         DaggerUINodeAttached(uinode);
     }
 }
Example #2
0
 public virtual void Apply(IDaggerUINode uinode)
 {
     uinode.Width  = Width;
     uinode.Height = Height;
     uinode.Top    = Top;
     uinode.Left   = Left;
 }
Example #3
0
 public virtual void Apply(IDaggerUINode uinode, int offsetX, int offsetY)
 {
     uinode.Width  = Width;
     uinode.Height = Height;
     uinode.Top    = Top + offsetY;
     uinode.Left   = Left + offsetX;
 }
Example #4
0
 public GraphLayout(IDaggerUINode uinode)
 {
     targetNodeGuid = uinode.Node.InstanceGuid;
     Width          = uinode.Width;
     Height         = uinode.Height;
     Top            = uinode.Top;
     Left           = uinode.Left;
 }