Reputation: 363
I have problem with dll file and have project which need this file System.Windows.Controls.dll for
listBox1.ItemsSource
error fix , and add reference with this dll to fix error. Where i can find this dll file? Is there any download link ? Share please ! Thanks !
In "Add Reference" it doesn't exist !
Upvotes: 6
Views: 33950
Reputation: 3871
Here are the steps:
References
in the Solutions Explorer
(Solutions explorer is on the right of your IDE)Add Reference
Assemblies > Framework
PresentationFramework
component box and click okUpvotes: 29
Reputation: 69
I was able to find the dll file by searching my computer for "System.Windows.Controls.dll". I found it under the following file location... "C:\Program Files (x86)\Microsoft SDKs\Silverlight\v3.0\Libraries\Client\System.Windows.Controls.dll"
Hope this helps!
Upvotes: 0
Reputation: 6683
This should be in the PresentationFramework.dll but that 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 References > Add Reference > .Net Tab > And selecting this DLL
Upvotes: 10