摘要: 优先级由高到低 1.动画 2.绑定 3.本地值 4.自定义Style的Triggers 5.自定义Style的Setter 6.默认Style的Triggers 7.默认Style的Setter 8.继承值 9.默认值 注:控件内设置的Style优先级高于WindowResources的Style 阅读全文
posted @ 2020-12-16 14:11 海华风光 阅读(287) 评论(0) 推荐(0)
摘要: 前台界面,LstParamValues为空时显示Textbox,否则显示Combox<DataGridTemplateColumn Header="属性值" > <DataGridTemplateColumn.CellTemplate> <DataTemplate> <TextBlock Text= 阅读全文
posted @ 2020-12-11 11:54 海华风光 阅读(583) 评论(0) 推荐(0)
摘要: Widows激活 Windows关闭 阅读全文
posted @ 2020-11-30 13:57 海华风光 阅读(223) 评论(0) 推荐(0)
摘要: 禁用FameworkElement中的RequestBringIntoViewEvent事件即可, Xaml: <ListBox > <ListBox.ItemContainerStyle> <Style TargetType="ListBoxItem"> <EventSetter Event="R 阅读全文
posted @ 2020-06-10 10:24 海华风光 阅读(454) 评论(0) 推荐(0)
摘要: Count(1) 等同于Count(*) 计算行数,后面可以跟Group by 列,统计列中数据的出现次数 Nvl(列,值) 给查询可为空的列设置默认值 阅读全文
posted @ 2019-11-23 15:06 海华风光 阅读(542) 评论(0) 推荐(0)
摘要: select ps.*,case when psi.id in ps.pidthen 'true'else 'false'end resColfrom Table1 ps left join Table2 psi on ps.id=psi.pid 阅读全文
posted @ 2019-11-13 11:49 海华风光 阅读(646) 评论(0) 推荐(0)