Why don’t I find the System.Windows.Controls namespace in my object browser in Visual Studio?
Why don’t I find the System.Windows.Controls namespace in my object browser in Visual Studio?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have to reference the
PresentationFrameworkassembly from Microsoft because you are trying to use aWPF namespace.If you set up a WPF project from scratch it should be included. When you start in VS with some other project type you might need to add this reference by hand. Right-click the references node under your project add select Add Reference. Then in the dialog that pops up you go to the tab page called .NET and browse for the right assembly.