Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Task - Practicing Data Binding | Interactive GUI
Advanced C# with .NET
course content

Kursinnehåll

Advanced C# with .NET

Advanced C# with .NET

1. Introduction to Desktop Development with .NET
2. Interactive GUI
3. Threading
4. Generics & Reflection

book
Task - Practicing Data Binding

In the base code's XAML, there are two elements, one of them is a Checkbox, while the other is a Label.

Your task is to bind the Checkbox's IsChecked property with the Label's Text property such that, when the Checkbox is checked, it sets the Label to "Is checkbox checked? True" and if it's not then the Label is set to "Is checkbox checked? False".

You only have to modify the C# file.

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 8
Vi beklagar att något gick fel. Vad hände?
some-alt