-
Notifications
You must be signed in to change notification settings - Fork 321
Closed
Description
I wish to attach click events to VLabels and VEdges as I can with VNode in WpfGraphControl
graphViewer.MouseDown += (s, ev) =>
{
if (graphViewer.ObjectUnderMouseCursor is VNode node)
{
Do.Stuff(node) // Works
}
else if (graphViewer.ObjectUnderMouseCursor is VLabel label
{
Do.Stuff(label) // does not work because we cannot check if class is VLabel above.
}
};
However VLabel and Vedge being internal means we cannot use them in the graphViewer.ObjectUnderMouseCursor is VLabel check.
How can we enable mouse clicking on VLabel and VEdge ?
Metadata
Metadata
Assignees
Labels
No labels