WPF枚举绑定相关内容
1、关于枚举绑定combobox
this.com.ItemsSource = Enum.GetValues(typeof(Student));
其中student是枚举类型的数据;
参考链接:枚举绑定combobox
2、关于枚举绑定多个RadioButton
通用方法是使用数据转换的方式
参考链接:绑定单选按钮
绑定枚举三种方法参考案例
WELCOME
a:hover { cursor:url(https://files.cnblogs.com/files/laoguantongxiegogo/click_24px_1231393_easyicon.net.ico),auto; } body { cursor:url(https://files.cnblogs.com/files/laoguantongxiegogo/pointer_24px_1231389_easyicon.net.ico),auto; }1、关于枚举绑定combobox
this.com.ItemsSource = Enum.GetValues(typeof(Student));
其中student是枚举类型的数据;
参考链接:枚举绑定combobox
2、关于枚举绑定多个RadioButton
通用方法是使用数据转换的方式
参考链接:绑定单选按钮
绑定枚举三种方法参考案例