简体   繁体   English

用于许多不同 TabControl 的 TabItem

[英]TabItem for many different TabControl

I have many project in my solution.我的解决方案中有很多项目。 In a lot of project i have one TabControl.在很多项目中,我有一个 TabControl。 On of my project is a dll.我的项目中有一个 dll。 How to create a tabItem in dll, for adding dynamicly in TabControl of other projet ?如何在dll中创建一个tabItem,以便在其他项目的TabControl中动态添加?

You have to create a UserControl in your dll, then reference it in other projects.您必须在 dll 中创建一个UserControl ,然后在其他项目中引用它。
And showing what you tried, and where your problem is rather than asking a simple question that any search engine could answer would avoid you some downvotes.并展示您尝试过的内容以及您的问题出在哪里,而不是问一个任何搜索引擎都可以回答的简单问题,这样可以避免您受到一些反对。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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