You may have been wondering why I have been so quite lately here on ElegantCode. Well the reason is because I have been hard at work getting the next version of the Extended WPF Toolkit released. Now is the time. The Extended WPF Toolkit version 1.5.0 is now officially released. You can download it form the project site or from NuGet. This version have a few bug fixes, some updates controls, and six new controls. Let take a quick look at the newest controls in the Extended WPF Toolkit family.
The CheckListBox control is a ListBox in which each item is represented with a CheckBox. The CheckBox.IsSelected can be data bound using the CheckedMemberPath property. The CheckListBox also provides a Command property which will execute everytime an item is checked/unchecked. The CommandParameter is the recently checked/unchecked item.
The CollectionEditor is exactly what it sounds like. It is a control that is used to edit collections the implement the IList interface.
The CollectionEditorDialog is basically the CollectionEditor stuffed inside a Window. You could have probably done this yourself, but I figured I would save you the trouble.
The DropDownButton control is a button that when clicked displays a drop down in which you can place any custom content within.
The MultiLineTextEditor is a ComboBox that, when opened, provides a drop down text editor. This is useful for those scenarios when you want to provide you user with a way to edit a large amount of text, but without the need for a TextBox that is a mile long or mile high.
The PrimitiveTypeCollectionEditor is a collection editor that is meant for use with a IList of primitive types such as String, Int, Double, etc. Items are represented by a new line. The following example is bound to a List<String>.
This is another control that is self explanatory. You simply create various WizardPages to represent you flow. Each Wizard page has a PageType which specifies if it is a blank page, interior page, or an external page. The PreviousPage and NextPage properties are for navigation. If you do not specify a PreviousPage or NextPage, the Wizard will use indexing for navigating between pages.
There is also a new sample application that will show basic usage of each control. Over time I will add new and more advance samples. You can always request a sample to be added.
You will be able to see the XAML:
As well as any C# code:
I know the documentation on these controls are lacking but these controls will be documented in more detail in the coming weeks or as soon as I can get to it.
As you can see I have been hard at work trying to make the Extended WPF Toolkit the most functional, feature rich, and FREE open source WPF toolkit available. Please be sure to submit bugs or request new features in the Issue Tracker, and ask any questions or to get support in the Discussions. I would like to thank the community for all the feedback and support you have given this project.
Brian, I using the Extended WPF Toolkit and it’s great, what do you reckon is the best approach for having a file browse in the PropertyGrid for a property?
You must create a custom editor. Just follow the Custom Editor example in the sample application.