Devexpress gridview 常用设置

自己用的

this.gvSchemesDescription.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
            this.gvSchemesDescription.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
            this.gvSchemesDescription.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
            this.gvSchemesDescription.OptionsBehavior.AllowFixedGroups = DevExpress.Utils.DefaultBoolean.False;
            this.gvSchemesDescription.OptionsBehavior.AutoSelectAllInEditor = false;
            this.gvSchemesDescription.OptionsCustomization.AllowFilter = false;
            this.gvSchemesDescription.OptionsCustomization.AllowGroup = false;
            this.gvSchemesDescription.OptionsCustomization.AllowQuickHideColumns = false;
            this.gvSchemesDescription.OptionsFilter.AllowFilterEditor = false;
            this.gvSchemesDescription.OptionsFilter.AllowMultiSelectInCheckedFilterPopup = false;
            this.gvSchemesDescription.OptionsMenu.EnableColumnMenu = false;
            this.gvSchemesDescription.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never;
            this.gvSchemesDescription.OptionsView.ShowGroupExpandCollapseButtons = false;
            this.gvSchemesDescription.OptionsView.ShowGroupPanel = false;

你可能感兴趣的:(Devexpress gridview 常用设置)