c# - Hide Toolbar in userControlTextEditor DevExpress -
i have winforms application , i'm using devexpress (v14.2) components, include usercontroltexteditor (an text editor can read, edit , save rtf format).
my problems is: form should viewer of rtf that's in database, said, there no reason keep toolbar shortcuts/actions in component. can't find set visible property (or that) hide toolbar.
i've been trying usercontroleditor.barmanager.mainmenu.visible = false mainmenu null, nullreference exception.
does know how hide/remove toolbar usercontroltexteditor component of devexpress?
i see have not 1 bar, several. hide all, traverse through barmanager.bars collection , set visible bars false.
foreach(var bar in barmanager.bars) { bar.visible = false; } 
Comments
Post a Comment