我可以向功能区添加自定义控件吗?

发布于 2024-12-04 05:03:52 字数 196 浏览 0 评论 0原文

有没有办法向 DevExpress.XtraBars.Ribbon.RibbonControl 添加自定义查找编辑?在我的 RibbonPageGroup 中,我可以右键单击添加控件,包括 LookUpEdit。但是,如果我想将自定义控件添加到 RibbonPageGroup 中,是否允许以及如何操作?我在网上搜索但没有找到太多有用的信息。谢谢!我正在研究 WinForms。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心头的小情儿 2024-12-11 05:03:52

仅当此控件派生自 DevExpress.XtraEditors.BaseEdit 类时才能完成此操作。另外,您应该注册相应的 RepositoryItem,如 How 中所述注册一个自定义编辑器以在 XtraGrid 文章中使用。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文