Windows Phone 8.1 CheckBox

network | | 访问(55)
<StackPanel>
    <CheckBox x:Name="McCheckBox1" Foreground="Orange" Content="Check Me" FontFamily="Georgia" FontSize="20" FontWeight="Bold" />
    <CheckBox x:Name="McCheckBox3" Content="Check Me" IsChecked="True" Checked="McCheckBox_Checked" Unchecked="McCheckBox_Unchecked" />
</StackPanel>
private void McCheckBox_Checked(object sender, RoutedEventArgs e) {
    if (McCheckBox3 != null) {
        McCheckBox3.Content = "Checked";
    }
}
private void McCheckBox_Unchecked(object sender, RoutedEventArgs e) {
    if (McCheckBox3 != null) {
        McCheckBox3.Content = "Unchecked";
    }
}