检查是否选择了单选按钮 [英] Check if radio button is selected
本文介绍了检查是否选择了单选按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的前端是用xaml设计的,而我是用c#编码的,但在c#中,我总是这样检查,但现在这给了问题。在xaml.cs中第一次这样做
My front is designed in xaml and I''m coding in c# but in c# I always check like this but now this is giving problem. Doing this 1st time in xaml.cs
if(rdbtnKg.Checked==true)
{
}
推荐答案
Ahhhhhhhhhh太容易自己解决了:)
Ahhhhhhhhhh tooo easy solved by myself :)
if(rdbtnKg.IsChecked==true)
{
}
这篇关于检查是否选择了单选按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文