- 博客(2)
- 收藏
- 关注
原创 WPF 自定义CheckBoxList控件 使用集合作为数据源
1.自定义控件<UserControl x:Class="AAA.Control.CheckBoxList" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlfor
2022-02-14 14:22:02
597
原创 WPF使用数据触发器,根据数据源范围改变控件样式
转换器 public class SourceToBooleanConverter : IValueConverter { // Convert enum [value] to boolean, true if matches [param] public object Convert(object value, Type targetType, object param, CultureInfo culture) {
2021-12-10 17:17:24
518
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人