Launch window's System Menu on custom window
问题 I would like to call the ContextMenu when you click on application's icon or right mouse click on the title bar of application. This is the ContextMenu I mean: I need it because I made custom control that acts like window. I need this behavior to complete my control. EDIT: Leo Lorenzo Luis asked for me code: https://skydrive.live.com/?cid=c3392940f5cf5f74&id=C3392940F5CF5F74%21107&authkey=!APd2X3tDxWRfpL4 or: My MainWindow.xaml: <!--<Grid> <Border Name="TopBorder" BorderThickness="0.5,0,0,0"