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