16
Graphical User Interfaces
PowerShell is first and foremost a language built to work on the command line. Since PowerShell is based on .NET, it can use several different assemblies to create graphical user interfaces.
This chapter explores Windows Presentation Foundation (WPF), a common choice for writing graphical user interfaces in Windows. WPF is not cross-platform; the content of this chapter will only work on Windows. WPF is used because much of the design of the interface is done using XML.
This chapter explores some of the basic controls (elements of the interface) in WPF, such as Label, TextBox, ComboBox, Button, Grid, and ListView. It explores positioning controls like StackPanel and DockPanel.
WPF comes with many built-in controls ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access