May 2010
Intermediate to advanced
1272 pages
61h 18m
English
CheckBoxThe WPF CheckBox controls works like any other same-named controls in other technologies. Take a look at the following XAML code:
![]()
The CheckBox’s text is set via the Content property. Setting Content also means that you can fill the control with visual elements other than text. It exposes two events, Checked and Unchecked, that are raised when you place or remove the flag from the control and that can be handled as follows:

Finally you invoke the IsChecked Boolean property for verifying whether the control is checked. Figure 32.3 shows ...
Read now
Unlock full access