After long time of search for good WPF filter combo box control I've decided to create one.
I've based my code on Omer van Kloeten's .NET Zen - Automatically Filtering a ComboBox in WPF post and add mostly keyboard support.
Because WPF ComboBox was not built with "filter as you type" in mind we need to be careful not to step on ComboBox implementation details and keep the normal behavior intact.
Take a look at the project at CodePlex which include a sample application which allow you to play with the combo box.
To integrate it to your application I suggest adding the AutoFilterComboBox class into your project and replace the built-in ComboBox control with the new derived AutoFilterComboBox control.
Hope it will help you the way it help me.
I'm happy to share with you my experience of life and programming.
Showing posts with label Control. Show all posts
Showing posts with label Control. Show all posts
Monday, April 25
Monday, January 11
TimelineControl
Finally I took the time to arrange and upload my TimelineControl to CodePlex.
The TimelineControl is 100% C# managed code WPF control for visualization of data on a timeline.
It separate behavior from visual aspect, like any other WPF control using Attached Properties to connect your data model properties to properties require by TimelineControl and it inner working classes.
It has support for different arrangement of items, currently there is Gantt items panel and Compact items panel.
It also support connection between data items you visualize so for example you can display dependencies between tasks.
Any suggestions or comments are very welcome.
I hope it will be useful for others.
Subscribe to:
Posts (Atom)