XtraGrid RepositoryItemCheckEdit 初始化运行时候的状态

默认情况下,RepositoryItemCheckEdit的空值,会显示为灰色选中状态,要想改为白色空状态,需要修改NullStyle属性为Unchecked。

            RepositoryItemCheckEdit check = new RepositoryItemCheckEdit();
            check.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;

posted @ 2013-05-21 13:42  忆如梨花  阅读(419)  评论(0编辑  收藏  举报