/// <summary> /// Internal method. Detaches label from control. /// </summary> public void DetachLabel() { if (VertexLabelControl is IAttachableControl <VertexControl> ) { ((IAttachableControl <VertexControl>)VertexLabelControl).Detach(); } VertexLabelControl = null; }
/// <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; }