关于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

最新文章

  1. NetApp 监控
  2. frxReport 设计 (mtm)
  3. 从BUG工具redmine上获取数据后借助python模块pycha 画出BUG分析类报表
  4. git冲突解决办法
  5. TruSeq 应该指的是试剂盒名字 NEB
  6. android手机ping不通linux的ip地址
  7. 分布式日志收集系统--Chukwa
  8. VS2010 Chromium编译
  9. Ubuntu 安装 JDK 7 / JDK8 的两种方式
  10. 【译】在Asp.Net中操作PDF – iTextSharp - 使用链接和书签
  11. 不用splitter控件 简单实现对mfc对话框的分割的方法
  12. Cocos2dx 3.1.1 将一个2.X的项目改成3.1版本
  13. tp框架命名空间
  14. 【推荐】CentOS修复OpenSSH用户枚举漏洞
  15. 汇编实验一 查看CPU和内存,用机器指令和汇编语言指令编程
  16. 找bug hhh
  17. Scala的apply unapply unapplySeq 语法糖
  18. web前端基本开发手册
  19. node.js 在使用child_process 模块时候,调试端口占用的问题解决方案(EADDRINUSE)
  20. 常用的Hql语句

热门文章

  1. SQL Server ALwayson 正在解析
  2. sql执行过长,如何入手优化
  3. ax=1(%b) 求最小逆元
  4. django_orm操作
  5. SVR回归
  6. dubbo Protocol实现剖析
  7. Eclipse下创建Spring MVC web程序--非maven版
  8. 大数据学习——sparkSql对接hive
  9. 编译TensorFlow CPU指令集优化版
  10. uiautomator 一个简单脚本创建流程