Inheritance: System.Windows.Forms.RadioButton
Example #1
0
        protected override void OnParse(ConvertEventArgs cevent)
        {
            MyRadioButton b = Control as MyRadioButton;

            if (b.Checked)
            {
                cevent.Value = b.CheckedValue;
            }
        }
Example #2
0
        protected override void OnFormat(ConvertEventArgs cevent)
        {
            MyRadioButton b = Control as MyRadioButton;

            b.Checked = b.CheckedValue.Equals(cevent.Value);
        }