This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Installation is fine, but PropertyGrid remains "grayed-out" in the toolbox. My application is a Windows Forms app, targeted for .NET 3.5 in VS2008. I'm expecting to host the PropertyGrid inside an ElementHost on a System.Windows.Form.
Am I missing some reference/configuration option? I am able to create a WPF UserControl and drag that into my dialog, but I can't even drag the PropertyGrid into the UserControl (error "Operation cannot be completed").
Any pointers welcome!
Regards Dave D
|
|
|
Hello Dave, I'm not able to reproduce this unfortunately. Here's what I tried and worked for me: * Create a new Windows Forms Application, targeting .NET 3.5. * Drag an ElementHost onto Form1 from the Toolbox. * Add a WPF UserControl to the project. * Switch the new user control into design view (I default to XAML view). * Open the toolbox and drag the PropertyGrid on. Are those the same steps that you did? I am using VS2008 SP1: are you on SP1 or RTM? They did make some improvements/fixes to the WPF designer in SP1, and I know we've had fewer issues with the toolbox in SP1 than we did in RTM. Does it work in a straight WPF project (WPF Application or WPF User Control Library)? If this doesn't help, don't forget you can always write the XAML by hand. Hopefully in this case you would be able to just create the grid in XAML and then switch back to the visual designer to position and configure it. Note that in this case you may need to add the licenses.licx file manually: see http://www.mindscape.co.nz/forums/Thread.aspx?ThreadID=1309 or the Help file for more info. |
|