Reader small image

You're reading from  Mastering PowerCLI

Product typeBook
Published inOct 2015
Reading LevelIntermediate
PublisherPackt
ISBN-139781785286858
Edition1st Edition
Languages
Right arrow
Author (1)
Sajal Debnath
Sajal Debnath
author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath

Right arrow

Building GUI using WPF


In this section, we are going to discuss how to build a windows GUI using WPF and PowerShell. WPF is more modern and provides a lot more flexibility and advanced options than WinForm. Like WinForm, building a GUI in WPF is also an event-driven approach. We define the Form and then add the controls in the form, after we define the events for the Controls so that we can control the behavior of the Form. The difference is in the way UI elements are designed in WPF. Here, we use XAML-based definitions for the UI elements.

There are two ways in which we can build a WPF-based application, either we hand code the XAML definitions or use third-party tools. The most easily available one is Visual Studio 2015, and it provides a great interface. For our use, I will use Visual Studio 2015 Community Edition (it is a free tool). In Visual Studio, we have two options: the first one is to use the Visual Studio interface and the second option is to use Blend for Visual Studio. Using...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering PowerCLI
Published in: Oct 2015Publisher: PacktISBN-13: 9781785286858

Author (1)

author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath