Rabbuh5
Rabbuh5

Reputation: 1

How to edit ContextMenuStrip inside of custom UserControl?

As you know, when you add a ContextMenuStrip to form it will place an icon of it on the bottom of form designer. After clicking that icon visual "menu designer" will appear.

Now assume that I have developed a custom user control which have such (single) ContextMenuStrip inside it. What Iam looking for is a way to show the same "menu designer" for this ContextMenuStrip inside of my custom UserControl after clicking it (my control).

Any ideas how to do that ?! Coz me and google have run out of them ... :/ Thx in advance

Upvotes: 0

Views: 834

Answers (1)

Henk Holterman
Henk Holterman

Reputation: 273244

The designer does not support this. I won't say it's impossible but ot will be a lot of work.

Maybe you're better of filling the contextStrip from code (in the hosting Form).

Upvotes: 1

Related Questions