Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Windows Presentation Foundation Development Cookbook

You're reading from   Windows Presentation Foundation Development Cookbook 100 recipes to build rich desktop client applications on Windows

Arrow left icon
Product type Paperback
Published in Feb 2018
Publisher Packt
ISBN-13 9781788399807
Length 524 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Kunal Chowdhury Kunal Chowdhury
Author Profile Icon Kunal Chowdhury
Kunal Chowdhury
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. WPF Fundamentals 2. Using WPF Standard Controls FREE CHAPTER 3. Layouts and Panels 4. Working with Data Bindings 5. Using Custom Controls and User Controls 6. Using Styles, Templates, and Triggers 7. Using Resources and MVVM Patterns 8. Working with Animations 9. Using WCF Services 10. Debugging and Threading 11. Interoperability with Win32 and WinForm 12. Other Books You May Enjoy

What this book covers

Chapter 1, WPF Fundamentals, focuses on WPF's architecture, application types, and XAML syntax, terminologies, and explains how to install WPF Workload with Visual Studio 2017 to create your first application targeting Windows Presentation Foundation. It will cover the navigation mechanisms, various dialog boxes, building ownership between multiple windows, and then proceed toward creating a single instance application. This chapter will then cover how to pass arguments to WPF application and how to handle unhandled exceptions thrown in WPF.

Chapter 2, Using WPF Standard Controls, provides you with an in-depth knowledge to help you learn about various common control parts of WPF. This chapter will begin with TextBlock, Label, TextBox, and Image controls, and then continue with 2D shapes, Tooltip, standard menu, Context Menu, Radio buttons, and CheckBox controls. This chapter will also cover how to work with Progress Bar, Slider, Calendar, ListBox, ComboBox, StatusBar, and Toolbar panel.

Chapter 3, Layouts and Panels, gives you quick tour of the standard layout and panels. This chapter will cover how to use the panels to create proper layouts. It will also cover implementing the drag and drop feature in brief.

Chapter 4, Working with Data Bindings, discusses the important concept of data binding and how to use it in WPF. It also discusses CLR properties, dependency properties, attached properties, converters, and data operations (such as sorting, grouping, and filtering). The step-by-step approaches will guide you to be proficient with all types of data bindings.

Chapter 5, Using Custom Controls and User Controls, provides the basic building blocks you need to create custom controls and user controls that you can reuse in various places. You will also learn how to customize the control template using custom properties and events from the custom controls and user controls.

Chapter 6, Using Styles, Templates, and Triggers, provides a deep insight into the styles and templates of a control, followed by various triggers that you can use to perform some operations or UI changes directly from the XAML, without using any C# code.

Chapter 7, Using Resources and MVVM Patterns, begins by demonstrating various ways to use and manage binary resources, logical resources, and static resources. It will then continue with the Model View ViewModel (MVVM) pattern to build a WPF application by writing less code in the code behind file. The MVVM pattern is introduced with some examples to show how you can build command bindings.

Chapter 8, Working with Animations, provides a tour to the animation capabilities in WPF and discusses how to use various transforms and animations and apply effects to animations.

Chapter 9, Using WCF Services, makes it easy for you to understand the ABC of WCF services and explains how to create, host, and consume them in a WPF application.

Chapter 10, Debugging and Threading, discusses WPF's support for debugging the XAML application UI using the Live Visual Tree and Live Property Explorer. This chapter helps you to create asynchronous operations so that the application UI is always responsive.

Chapter 11, Interoperability with Win32 and WinForm, focuses on understanding the interoperability of WPF with Win32 and Windows Forms. In this chapter, you will learn how to host an element from one technology (WPF/WinForm) to other technology (WinForm/WPF), followed by calling Win32 APIs and embedding ActiveX controls in a WPF application.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime