Category Archives: WPF

PowerShell and WPF: Textbox

The next control in my series on working with WPF using PowerShell is Textboxes. The textbox control is as it sounds, a box that can hold text. You can use it both as a input box as well as an … Continue reading

Posted in powershell, WPF | Tagged , , | 7 Comments

PowerShell and WPF: StackPanel

Moving on with my WPF series, we are now going to look at using StackPanels for a layout. A StackPanel is a layout that you can use to arrange child controls either vertically or horizontally. StackPanels are pretty simple to … Continue reading

Posted in powershell, WPF | Tagged , , | 1 Comment

PowerShell and WPF: Labels

Continuing on in my series of working with WPF and PowerShell, today’s article is about Labels. While there really isn’t a lot with using labels other than just displaying something in your UI, it is another control in WPF and … Continue reading

Posted in powershell, WPF | Tagged , , , | 1 Comment

PowerShell And WPF: Canvas

In a previous article, I demonstrated adding a button to your created window and using it. I also mentioned that only 1 button could have been added due to the window treating that as a single child and that only … Continue reading

Posted in powershell, WPF | Tagged , , , | 6 Comments

PowerShell and WPF: Writing Data to a UI From a Different Runspace

One of the biggest pain points when working with WPF and PowerShell is that everything is done on a single thread with the UI. This includes performing various activities related to events such as button clicking and selecting data. While … Continue reading

Posted in powershell, WPF | Tagged , , , , , , | 54 Comments