摘要: 问题:当重写Listbox的样式后,会出现Listbox里面的子控件不能填充子控件的一行。 解决: 在重写的样式里面添加 <Setter Property="ItemContainerStyle"> <Setter.Value> <Style TargetType="{x:Type ListBoxI 阅读全文
posted @ 2019-08-14 15:30 无限环 阅读(304) 评论(0) 推荐(0) 编辑
摘要: WPF布局执行工作 height,width:元素期望尺寸 Actualheight,Actualwidth:实际尺寸 布局继承机制 DispatherObject:WPF应用程序使用单线程亲和模式,每个用户界面只被一个单线程使用。 DependebcyObject:依赖属性,在winform控件中 阅读全文
posted @ 2019-08-14 13:56 无限环 阅读(648) 评论(0) 推荐(0) 编辑