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.

screenshot

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

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -