Create a Metro GUI with Tiles and Powershell
https://www.systanddeploy.com/2016/01/create-metro-gui-with-tiles-and.html
In this post I will show you a great way to create a Metro GUI with tiles just like in Windows 10.
In a previous post, I have shown you how to use MahApps to give a better look to your GUI.
To create this Metro GUI with Tiles I also used this theme.
How it looks ?
Using MahApps you can add easily metro controls as Tile.
In this example I have created some Tile and a Flyout content in order to get something which looks like to a Windows 10 screen.
Metro GUI with Tiles |
Metro GUI with Tiles and Flyout |
You can add easily tile controls using the below part :
If you want to add a picture you just have to add a background part, as below :
How to use it with PowerShell ?
Tile control works as button so to use a Tile with Powershell you just have to declare the control in your PS1, as below :
$Open_Desktop = $Form.FindName("Open_Desktop")
New-Object -ComObject shell.application).toggleDesktop()
3 commentaires
Thanks for sharing, this is very cool GUI!
You're welcome. It's a pleasure if it could help. Thanks for your comment.
Hi, the download links to your PowerShell examples with mahapps does not work anymore. Can you please update the links? I often use several of the examples.
Regards
Enregistrer un commentaire