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

后端 未结 3 1812
攒了一身酷
攒了一身酷 2020-12-19 08:11

I have problem with dll file and have project which need this file System.Windows.Controls.dll for

listBox1.ItemsSource

error fix , and a

相关标签:
3条回答
  • 2020-12-19 09:04

    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

    0 讨论(0)
  • 2020-12-19 09:08

    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
    0 讨论(0)
  • 2020-12-19 09:10

    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!

    0 讨论(0)
提交回复
热议问题