简体   繁体   中英

How can I create WPF User Control as dll and then see it in another WPF application?

我创建了WPF用户控制库模板,但是我不知道如何创建dll并将其用于另一个WPF应用程序。

In Visual Studio, Click File -> New -> Visual C# -> Class Library to create add dll project.

Then, Right click the project and add WPF usercontrol. Later build it and add the dll as reference to your WPF project and use it.

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