【文件属性】:
文件名称:GridView常设置属性-devexpress入门
文件大小:1.43MB
文件格式:PPT
更新时间:2021-04-24 03:01:13
DevExpress
GridView常设置属性
this.gridView1.OptionsBehavior.Editable = false;//禁止编辑
this.gridView1.OptionsCustomization.AllowFilter = false;//不允许使用过滤
this.gridView1.OptionsCustomization.AllowSort = false;//不允许使用排序
this.gridView1.OptionsView.ShowGroupPanel = false;//不显示组面板
this.gridView1.OptionsView.ColumnAutoWidth =true;//如果宽度溢出,自动出现滚动条
this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;//禁止单元格获得焦点
this.gridView1.Appearance.SelectedRow.BackColor = Color.Transparent;//选择的行背景透明
广州易麦科技 http://www.inmes.cn