GregH
GregH

Reputation: 12858

contextMenuStrip click events in vb.net

Is there an event that fires in vb.net just before a contextMenuStrip appears when the user right clicks on a control? I need to be able to control the content of the contextMenuStrip just prior to the menu strip appearing. Basically I want to be able to change the content of the contextMenuStrip just before it appears. Is this possible?

Upvotes: 1

Views: 1575

Answers (1)

Jon Seigel
Jon Seigel

Reputation: 12401

Yes, use the Opening event.

Upvotes: 4

Related Questions