private void rdbtnWPAddStopDevNon_MouseUp(object sender, MouseEventArgs e) { RadioGroup radioGroup = sender as RadioGroup; RadioGroupViewInfo viewInfo = radioGroup.GetViewInfo() as RadioGroupViewInfo; if (viewInfo.GetItemIndexByPoint(e.Location) == viewInfo.SelectedIndex) { radioGroup.SelectedIndex = -1; viewInfo.HitIndex = -1; } }