C # Where can I find System.Windows.Controls.dll

I have a problem with a dll file and there is a project that needs this System.Windows.Controls.dll file for

listBox1.ItemsSource 

fix the error and add a link with this dll to fix the error. Where can I find this dll file? Is there a download link? Share, please! Thanks!

In the "Add Reference" it does not exist!

Solution: http://download.microsoft.com/download/7/7/6/776875B7-AD81-44D4-AA47-648D1BCB097E/silverlight_sdk.exe

+4
source share
3 answers

Here are the steps:

  • Right-click on References in the Solutions Explorer (the solution explorer is to the right of your development environment)
  • Choose Add Reference
  • In the window that opens, select Assemblies > Framework
  • Check the PresentationFramework component box and click ok
+22
source

It should be in the PresentationFramework.dll file, but this control is in the System.Windows.Controls namespace.

http://msdn.microsoft.com/en-us/library/system.windows.controls.listbox.aspx

You can add it by going to your project, right-clicking on the link> Add Link> .Net Tab> and selecting this DLL

+10
source

I managed to find the dll file by searching on my computer for "System.Windows.Controls.dll". I found it in the following directory: "C: \ Program Files (x86) \ Microsoft SDK \ Silverlight \ v3.0 \ Libraries \ Client \ System.Windows.Controls.dll"

Hope this helps!

0
source

All Articles