c# Where can find System.Windows.Controls.dll

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 !

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

Answers


Here are the steps:

  1. Right click on References in the Solutions Explorer (Solutions explorer is on the right of your IDE)
  2. Select Add Reference
  3. In the window that opens, Select Assemblies > Framework
  4. Check the PresentationFramework component box and click ok

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


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!


Need Your Help

Lists of data types: "could not deduce (a ~ SomeType) from the context (SomeTypeclass a)"

haskell types

I have the following problem with Haskell's type system: I am trying to declare a data type and return a list containing elements of this type from a function. Unfortunately, even a minimal testcas...

Running java with JAVA_OPTS env variable has no effect

java shell remote-debugging jvm-arguments

In a shell script, I have set the JAVA_OPTS environment variable (to enable remote debugging and increase memory), and then I execute the jar file as follows: