开发者

is there such thing as resetting radio button?

i would like to create a reset button that will unchecked the checked radiobutton in windows form.. can i just clear it by using radio开发者_开发知识库button.Clear();?


Why not

radiobutton.Checked = false 

?

Besides I don't see a Clear() method for System.Windows.Forms.RadioButton.


radiobutton.Checked = false;


radioButton1.Checked = false;

Ref.


I tried like this to clear the Radiobutton or RadiobuttonList

Radiobutton.ClearSelection();

its working..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜