hi
i have refered
"windows.form" and "windows.form.integration" with wpf application..
so
i am getting lot of controls in my toolbox.. bt they are disabled
why..
to enable that what i have to do.......
regards
jai
Windows form controls in wpf are disabled
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Ibrahim ErsoyRank #106 · 20.6K reputationPosted May 11, 2010, 8:42 AM EDT
you cant enable them.
WPF controls are XAML-supported controls.And windows controls arent.
But you can add windows controls inside wpf in one way:
Use WindowsFormHost:
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:wfi="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
Title="Window1" Height="300" Width="300">
I hope it helps
Cheers,