GridControl CardView ShowCardExpandButton or GridCardExpandButton
2024-10-21 06:18:47
关于DevExpress.XtraGrid.v13.1.dll和DevExpress.XtraGrid.v12.2.dll中ShowCardExpandButton 或者 GridCardExpandButton隐藏针对不同版本有如下不同处理方式。
关于13.1版本处理方式
DevExpress.XtraGrid.v13.1.dll
设置属性 ShowCardExpandButton = false; 关于12.2版本中处理方式 DevExpress.XtraGrid.v12.2.dll
<!-- Hide expand button -->
<Style x:Key="{dxgt:GridCardThemeKey ResourceKey=ContentExpandButtonStyle, IsThemeIndependent=True}"
TargetType="{x:Type dxg:GridCardExpandButton}">
<Setter Property="Visibility" Value="Collapsed"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
</Style> <!-- Hide header AND expand button -->
<ControlTemplate x:Key="{dxgt:GridCardThemeKey ResourceKey=HeaderPanelTemplate, IsThemeIndependent=True}" TargetType="{x:Type ContentControl}" />
Hide expand button
下载源代码地址
http://files.cnblogs.com/-ShiL/WpfApplication1.rar
最新文章
- NetApp 监控
- frxReport 设计 (mtm)
- 从BUG工具redmine上获取数据后借助python模块pycha 画出BUG分析类报表
- git冲突解决办法
- TruSeq 应该指的是试剂盒名字 NEB
- android手机ping不通linux的ip地址
- 分布式日志收集系统--Chukwa
- VS2010 Chromium编译
- Ubuntu 安装 JDK 7 / JDK8 的两种方式
- 【译】在Asp.Net中操作PDF – iTextSharp - 使用链接和书签
- 不用splitter控件 简单实现对mfc对话框的分割的方法
- Cocos2dx 3.1.1 将一个2.X的项目改成3.1版本
- tp框架命名空间
- 【推荐】CentOS修复OpenSSH用户枚举漏洞
- 汇编实验一 查看CPU和内存,用机器指令和汇编语言指令编程
- 找bug hhh
- Scala的apply unapply unapplySeq 语法糖
- web前端基本开发手册
- node.js 在使用child_process 模块时候,调试端口占用的问题解决方案(EADDRINUSE)
- 常用的Hql语句