/// <summary>
 /// Internal method. Detaches label from control.
 /// </summary>
 public void DetachLabel()
 {
     if (VertexLabelControl is IAttachableControl <VertexControl> )
     {
         ((IAttachableControl <VertexControl>)VertexLabelControl).Detach();
     }
     VertexLabelControl = null;
 }
Beispiel #2
0
 /// <summary>
 /// Internal method. Attaches label to control
 /// </summary>
 /// <param name="ctrl">Control</param>
 public void AttachLabel(IVertexLabelControl ctrl)
 {
     VertexLabelControl = ctrl;
     OnLabelAttached();
 }
 /// <summary>
 /// Internal method. Attaches label to control
 /// </summary>
 /// <param name="ctrl">Control</param>
 public void AttachLabel(IVertexLabelControl ctrl)
 {
     VertexLabelControl = ctrl;
 }