PowerShell & WPF: Easily build a top menu
https://www.systanddeploy.com/2019/01/powershell-wpf-easily-build-top-menu.html
In this post, I will explain how how to create easily a top context menu for for GUI.
To do that we will use the DockPanel and MenuItem Controls.
See below on GitHub this example.
To interact with the menu, you will just need to use the event Add_Click on your control.
See below the XAML part used to to this. I tried give the more explanation in the code.
1 commentaire
Can you explain for a noob how to use a top menu and use pages so you can have one main window with the top menu?
Enregistrer un commentaire