radio button - Set UltraGrid to ReadOnly property, vb.net -
in project, have form has 3 radio buttons, ultragrid, , textbox. when load form, want ultragrid readonly, or equivalent of this, , want become active again when rbcategory checked (one of radiobuttons). need set readonly again if 1 of other 2 radio buttons selected.
i feel readonly not property can used ultragrids, equivalent (to make grey, readonly textbox, basically), , how coded?
i tried using
ugcategories.displaylayout.override.allowupdate = defaultableboolean.false but didn't seem job
by setting allowupdate making grid read-only. if need change grid appearance need set appearance read-only cells this:
ugcategories.displaylayout.override.readonlycellappearance.backcolor = color.gray; further, may consider set , cellclickaction cellselect this:
ugcategories.displaylayout.override.cellclickaction = infragistics.win.ultrawingrid.cellclickaction.cellselect; you may check this article more helpful information mike saltzman - infragistics win forms guru
Comments
Post a Comment