DevExpress GridView在只读状态下如何隐藏表格的按钮EditorShowMode|ShowButtonMode
DevExpress GridView在只读状态下如何隐藏表格的按钮EditorShowMode|ShowButtonMode
代码参考:
C# Code:
gridView.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.Default;
gridView.OptionsView.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.Default;
//来源:C/S框架网 | www.csframework.com | QQ:23404761
gridView.OptionsView.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.Default;
//来源:C/S框架网 | www.csframework.com | QQ:23404761
其他参数设置参考:
C# Code:
gridView.OptionsSelection.EnableAppearanceFocusedRow = true;
gridView.OptionsSelection.EnableAppearanceFocusedCell = false;
gridView.OptionsView.ShowFooter = true;
gridView.OptionsView.ShowGroupPanel = false;
gridView.OptionsView.ColumnAutoWidth = false;
gridView.ColumnPanelRowHeight = 25;
gridView.RowHeight = 25;
gridView.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.Default;
gridView.OptionsView.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.Default;
//来源:C/S框架网 | www.csframework.com | QQ:23404761
gridView.OptionsSelection.EnableAppearanceFocusedCell = false;
gridView.OptionsView.ShowFooter = true;
gridView.OptionsView.ShowGroupPanel = false;
gridView.OptionsView.ColumnAutoWidth = false;
gridView.ColumnPanelRowHeight = 25;
gridView.RowHeight = 25;
gridView.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.Default;
gridView.OptionsView.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.Default;
//来源:C/S框架网 | www.csframework.com | QQ:23404761
版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
NewDoc C/S框架网