Anyone know how i can Figure out with context menu button was clicked?
if it helps the following is an example of a context menu button:
var mycontext = graphObjectMake(go.Adornment, “Vertical”,
text: “My menu button”
//do something here to get the information on which button was clicked