Loading...

PowerShell & WPF: Easily build a top menu


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.
XAML 4380587605472003482

Publier un commentaire

Accueil item

Award

Mes articles en français

Author of Books

PowerShell GUI & WPF Group

PowerShell GUI & WPF Group

Join the FPSUGR

Join the FPSUGR

Stats