About Windows Presentation Foundation (WPF)
Windows Presentation Foundation, or WPF, is a user interface framework. The components of a user interface are referred to as controls and include Label
, TextBox
, Button
, and so on.
Before you can use WPF, you must load the PresentationFoundation
assembly. The assembly can be loaded using Add-Type
. This command is required once in each PowerShell session that intends to use WPF:
Add-Type -AssemblyName PresentationFramework
A WPF user interface typically defines all or most of the visible components in an Extensible Application Markup Language (XAML) document.