Is there a property dialog control that I can use in my WPF application?

I am creating an application using WPF that will be a constructor of various types, that is, the user can drag and drop user interface elements into the canvas and be able to customize their behavior through properties.

(Think of it as a PowerPoint PowerPoint that you can specify in the domain. You can add elements to the presentation, adjust the properties of the elements, and then ultimately you can launch the β€œslide show” and these elements will behave according to their properties)

So, in my application, the best way to show and set element properties? Can I use the properties dialog box control? (similar to how in Visual Studio for controls)

+6
properties controls wpf propertygrid
source share
2 answers

Unfortunately, WPF does not have a PropertyGrid control. Either you have to use the WinForms properties grid, either one available in the open source community, or buy from third-party vendors. You have the following choices -

Open source -

WPF Property Grid: http://wpg.codeplex.com/

PropertyTools (formerly called PropertyEditor) for WPF: http://propertytools.codeplex.com/

WPF PropertyGrid Advanced Toolkit: http://wpftoolkit.codeplex.com/wikipage?title=PropertyGrid

Native WPF 4 PropertyGrid http://www.codeproject.com/Articles/87715/Native-WPF-4-PropertyGrid

WPF PropertyGrid - MVVM methods: http://www.codeproject.com/KB/WPF/PropertyGridMVVM.aspx

If you are working on .Net 4.0, you can use WWF PropertyInspectorView as a property grid in WPF. As explained in this article - http://www.codeproject.com/KB/grid/WpfPropertyGrid.aspx

Third Party:

Actipro: http://www.actiprosoftware.com/products/controls/wpf/propertygrid

ComponentOne: http://www.componentone.com/SuperProducts/PropertyGridWPF/

Mindscape: http://www.mindscape.co.nz/products/WPFPropertygrid/

Syncfusion: http://www.syncfusion.com/products/wpf/property-grid

Custom -

In case you want to create your own PropertyGrid , look at these articles -

(Very) simple WPF PropertyGrid in 20 minutes: http://blog.joachim.at/?p=36

Your own PropertyGrid in a couple of hours: http://dvuyka.spaces.live.com/blog/cns!305B02907E9BE19A!448.entry

+11
source share

For this you need to use the grid property. See these posts on how to create them.

Limitations of using .NET 2.0 controls (Windows Forms) in WPF?

wpf propertyGrid

0
source share

All Articles