Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Practicing Data Binding | Section
C# Desktop Development with .NET MAUI

bookChallenge: Practicing Data Binding

Sveip for å vise menyen

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.

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 13

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

Seksjon 1. Kapittel 13
some-alt