button - Unable to change color of RepositoryItemButtonEdit in Devexpress Gridview vb.net -
i have column in devexpress gridview consists of buttons. change color of buttons in column.
buttons have been created way:
dim withevents buttonadd repositoryitembuttonedit buttonadd = new repositoryitembuttonedit buttonadd.texteditstyle = texteditstyles.hidetexteditor buttonadd.buttons(0).kind = buttonpredefines.glyph
buttons put in gridview1
way:
dim unbcolumn gridcolumn = gridview1.columns.addfield("button!") unbcolumn.visibleindex = gridview1.columns.count unbcolumn.columnedit = buttonadd gridview1.optionsview.showbuttonmode = devexpress.xtragrid.views.base.showbuttonmodeenum.showalways
i have tried:
buttonadd.buttons(0).appearence()
..... nothing allows me change color of button.
the same question discussed in context of repositoryitembuttonedit how change backcolor thread in devexpress support center.
in short, can't change colors when using skinning because skinning based on images , colors defined in skins. should either disable skins , use appearance's properties or modify skins.
Comments
Post a Comment