Click here to Skip to main content
15,501,036 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello...

i have create a custom textbox using "Windows Forms Control Library". And i want to use that textbox in wpf. How do I add reference to that dll and use that dll in xaml code?
Posted
Updated 6-Feb-22 4:10am

1 solution

Just look in the solution explorer and open your project. Right click "References" and select "Add Reference".
Follow the dialogs to select the DLL file, add it and close the dialog.
Your controls should then appear in the toolbox.
 
Share this answer
 
Comments
TAUSEEF KALDANE 11-Apr-14 4:37am    
but how do i use that control in wpf?
Dan Desjardins 20-Nov-21 23:22pm    
We should ban the word "just." There is no "References" anywhere to be found in my solution explorer.
OriginalGriff 21-Nov-21 2:00am     CRLF
That is ... unlikely. Are you sure you are looking at the Solution Explorer pane of Visual Studio, and the Project branch?
Member 15525329 6-Feb-22 9:29am    
My Visual Studio dont have Reference Panel too in WPF Projects, only in WinForms Projects
OriginalGriff 6-Feb-22 9:59am    
Do you seriously think that 8 years ago I could clearly see your screen?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900