简体   繁体   中英

Can I add customized control to ribbon?

Is there a way to add a customized lookupedit to DevExpress.XtraBars.Ribbon.RibbonControl? In my RibbonPageGroup, I can right click to add controls including LookUpEdit. But if I want to add my customized control to RibbonPageGroup, is it allowed and how to do that? I search online but didn't find much useful information about it. Thanks! I am working on WinForms.

This can be only done if this control is derived from the DevExpress.XtraEditors.BaseEdit class. Also, you should register the corresponding RepositoryItem as it is described in the How to register a custom editor for use in the XtraGrid article.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM