private void VerifyRadioButton(RadioButton<FindingPage> radioButton) { VerifyValue(radioButton, "OptionC"); radioButton.Should.BeUnchecked(); radioButton.Check(); radioButton.Should.BeChecked(); }
private void VerifyRadioButton(RadioButton <FindingPage> radioButton, string expectedValue = "OptionC") { VerifyValue(radioButton, expectedValue); radioButton.Should.BeUnchecked(); radioButton.Check(); radioButton.Should.BeChecked(); }
public void ButtonClicked(RadioButton button) { CurrentChecked = button; for (int i = 0; i < RadioButtons.Count; i++) { if (RadioButtons[i] == null) { RadioButtons.RemoveAt(i); i--; continue; } if (RadioButtons[i] != button) { RadioButtons[i].UnCheck(); } } button.Check(); }