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

bookTask - 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.

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 8

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

bookTask - 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.

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 8
some-alt