DEV 控件gridcontrol中gridview的gridcolumn我用checkbox控件运行点击有对勾、空、黑点,点对勾选中还是黑点
展开全部
RepositoryItemCheckEdit edit = new RepositoryItemCheckEdit();
edit.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
edit.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.Standard; //这就是设置你说的那个的
var col = new BandedGridColumn { FieldName = "checkBox", Caption = " ", Width = 50, Visible = true, VisibleIndex = 0, ColumnEdit =edit };
edit.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
edit.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.Standard; //这就是设置你说的那个的
var col = new BandedGridColumn { FieldName = "checkBox", Caption = " ", Width = 50, Visible = true, VisibleIndex = 0, ColumnEdit =edit };
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询