Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WPF design-time context menu

I am trying to create a custom wpf control, I'm wondering how I can add some design-time features. I've googled and can't seem to get to my goal.

So here's my simple question, how can I add an entry to the design-time context menu for my WPF usercontrol? The context menu by default has entries View Code,View XAML, etc.

like image 393
Jose Avatar asked Nov 09 '09 14:11

Jose


1 Answers

You probably want to check out the WPF Designer Extensibility documentation. Specifically it sounds like you want to create a custom MenuAction.

like image 122
Drew Marsh Avatar answered Oct 19 '22 08:10

Drew Marsh