private void RadioButtonBehavior_CheckedChanged(object sender, EventArgs e) { if (this.radioButtonBehavior.IsChecked) { if (this.Checked != null) { this.Checked(this, e); } } else { if (this.Unchecked != null) { this.Unchecked(this, e); } } }