摘要: 1.先在Converter命名空间当中,定义转换功能类: public sealed class BoolToValueConverter : System.Windows.Data.IValueConverter { public object TrueValue { get { return t 阅读全文
posted @ 2018-12-05 14:55 黑暗时代地表人 阅读(7494) 评论(0) 推荐(0) 编辑
摘要: 1.先在资源类库中编写:style.xaml,如下: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com 阅读全文
posted @ 2018-12-05 14:09 黑暗时代地表人 阅读(6005) 评论(0) 推荐(1) 编辑