WaveEngine.Components.UI.RadioButton.RadioButtonBehavior_CheckedChanged C# (CSharp) Method

RadioButtonBehavior_CheckedChanged() private method

Handles the CheckedChanged event of the RadioButtonBehavior control.
private RadioButtonBehavior_CheckedChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void
        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);
                }
            }
        }