摘要:
都是控件编,RadioButtion 简单绑定使用,model.cs下边定义属性private int _isSuccess;public int IsSuccess { get { return _isSuccess; } set { _isSuccess = value; } }打开 Window1.xaml.cs 文档,model.cs 绑定你的 DataContext, 返回 xaml 绑定 RadioButton 控件:主要属性是Converter和ConverterParameter,Converter是个转换器,使用动态资源中一个Converter类,就是RadioBoolToI 阅读全文