Esempio n. 1
0
 protected void OnBorderOver(MouseEventArgs _)
 {
     Hovered = true; Diagram.SetActiveElement(this, HoverType.Border);
 }
Esempio n. 2
0
 protected void OnNodeOver(MouseEventArgs _)
 {
     Hovered = true; Diagram.SetActiveElement(this, (NodeLibrary == null) ? HoverType.Node : HoverType.NewNode);
 }
Esempio n. 3
0
 private void OnControlPointOver(ControlPoint control_point) => Diagram.SetActiveElement(this, control_point, HoverType.ControlPoint);
Esempio n. 4
0
 private void OnAnchorOver(NodeAnchor anchor) => Diagram.SetActiveElement(this, anchor, HoverType.Anchor);
Esempio n. 5
0
 protected void OnLinkOver(MouseEventArgs _) => Diagram.SetActiveElement(this, HoverType.Link);