728x90
            RepositoryItemCheckEdit checkEdit = new RepositoryItemCheckEdit();
            checkEdit.ImageOptions.ImageChecked = Image.FromFile("\\img\\Check_Y.png");
            checkEdit.ImageOptions.ImageUnchecked = Image.FromFile("\\img\\Check_N.png");
            checkEdit.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.UserDefined;
            checkEdit.ValueChecked = "Y";
            checkEdit.ValueUnchecked = "N";
            grd.RepositoryItems.Add(checkEdit);
            gv.Columns["s"].ColumnEdit = checkEdit;
728x90
반응형

+ Recent posts