Introduction In part 1 I’ve talked about the UI Virtualization concept in WPF, and explained how it is differs from Data Virtualization concept. In this post I would like to share with you a unique solution for Data Virtualization implementation in WPF. Recall from the previous post, Data Virtualization implementation raises several problems, and there is no out-of-the-box solution for Data Virtualization in WPF. First problem: How do we fake scrollbars, so the user will think that it has all the...
In this post I would like to share with you a simple solution for searching and highlighting text in the WPFToolkit or WPF 4.0 DataGrid. The Problem Lets say for example that you have a DataGrid with several columns that may display text. Now you want to be able to search terms in these text parts. For example: Proposed Solution 1. Create an attached property of type string called SearchTerm for attaching the data-grid with the search term provided by a TextBox (see images). < TextBox x : Name...
Although Silverlight 2.0 is biting WPF in its tail, and Microsoft promotes Silverlight 2.0 for future LOB applications, and that Silverlight is planned to go out-of-prison (browser), there is a nice plan for WPF 4.0. I'll start by saying that few controls such as the long awaiting DataGrid , Calendar and DatePicker controls are now released, and you can download the toolkit from here . There is a new cool WPF Ribbon control which is currently CTP, and you can also download it from here . * In...