Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Modernizing Your Windows Applications with the Windows App SDK and WinUI
  • Toc
  • feedback
Modernizing Your Windows Applications with the Windows App SDK and WinUI

Modernizing Your Windows Applications with the Windows App SDK and WinUI

By : Pagani, Plogas
4.4 (9)
close
Modernizing Your Windows Applications with the Windows App SDK and WinUI

Modernizing Your Windows Applications with the Windows App SDK and WinUI

4.4 (9)
By: Pagani, Plogas

Overview of this book

If you're a developer looking to improve and modernize your existing LOB applications to leverage modern Windows features without having to rewrite the entire application from scratch, this book is for you. You’ll learn how to modernize your existing Windows Forms, WPF, and UWP applications and enrich them with the latest Windows features. Starting with sample LOB applications that cover common scenarios, you'll learn the differences between various components and then focus on design features for improved visual aspects like accessibility and responsive layouts. The book shows you how to enhance your existing applications using Windows App SDK components and various Windows APIs, resulting in deeper integration with the operating system. You’ll be taking a closer look at WinML, which enables Windows applications to evaluate machine learning models offline and leverage the power of your machine, or notifications, to engage with your users in a more effective way. You’ll also learn how to make your application deployment-ready by distributing it using various platforms like the Microsoft Store or websites. By the end of this Windows book, you'll be able to create a migration plan for your existing Windows applications and put your knowledge to work by enhancing your application with new features and integrating them with the Windows ecosystem.
Table of Contents (19 chapters)
close
1
Section 1: Basic Concepts
3
Section 2: Modernization Journey
9
Section 3: Integrating Your App with the Windows Ecosystem
14
Section 4: Distributing Your Application

Data binding

Data binding is one of the most important concepts in XAML, and it's the key to mastering many of the topics that we're going to discuss in the next chapters.

Thanks to data binding, you can create a communication channel between two different properties (either in code or in XAML) so that they get notified every time there's an update. This feature enables us to manage scenarios such as multiple controls that are connected to each other, or to create UIs that can automatically react to changes in a data layer. Data binding also enables us to define a clear separation between the UI layer and the data layer, and it's actually at the heart of the Model-View-ViewModel (MVVM) pattern, which we'll cover in Chapter 6, Building a Future-Proof Architecture.

Binding involves two actors – the source (which is the data layer) and the target (which is the UI control that will display the information). Let's consider the following example...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete