
WPF
Get flash to fully experience Pearltrees
A Guided Tour of WPF – Part 4 (Data templates and triggers)
Listening to DependencyProperty changes in Silverlight | Kiener's Blog
Localization using a MarkupExtension
The Idea A simple and effective way to localize application resources is to write a custom MarkupExtension that provides a localized value. The extension takes a parameter in the constructor that is the unique resource key. When the DepdendencyProperty asks for the value, the markup extension looks up the value from a generic resource provider.Localizing WPF Applications using Locbaml
Download code ver 1.3 from here . Many of my customers asked me: How WPF supports localization and globalization? Is there any built-in mechanism for choosing a language on-the-fly, at runtime and without closing any window?
WPF Localization - On-the-fly Language Selection - Essential XAML
Dispose of a WPF UserControl (ish)
Home » Programming Today I read a blog on http://weblogs.asp.net/bleroy/archive/2009/12/10/resizing-images-from-the-server-using-wpf-wic-instead-of-gdi.aspx which introduces a new way to resize image with WPF. This new method does not use GDI+ ( Microsoft Windows GDI+ is the portion of the Windows XP operating system or Windows Server 2003 operating system that provides two-dimensional vector graphics, imaging, and typography. ) but it uses WPF library for resizing images very fast. You can read more details about this method in that blog.
s blog » C#, WPF – Fast image resize
Resizing images from the server using WPF/WIC instead of GDI+ - Tales from the Evil Empire
Downloads: Highlight Searched Text in WPF ListView
Introduction I wrote this as an inspiration for how to search in Microsoft Outlook. Imagine that you have a ListView in a WPF application and you are looking for a text in the individual items. It would be useful to highlight the text. The code used in this demo can be adjusted wherever it's appropriate and the highlighted text is displayed by using the TextBox control.Monday, May 12, 2008 8:12 PM Tamir Khason Today we’ll speak about how to search and select text on WPF page. This is not about how to search data sources, or how to search for data. This is visual search. Like this one Let’s see how XAML looks like
Search and highlight any text on WPF rendered page - Just code - Tamir Khason
I have posted a couple of times on creating a Piano Roll control in WPF. ( Part 1 and Part 2 ). Today I want to take a slight digression and ask whether this could be accomplished more elegantly using a data binding approach. I went to an excellent presentation by Josh Twist on WPF and data binding yesterday in which he claimed that if you are not using data binding in WPF, you a probably missing something. So I decided to experiment.
Creating a Piano Roll in WPF Part 3 - Data Binding
Download source files - here My old known Bala send to me this link . Kent Boogaart has written an article that describes approach searching and highlighting text in FlowDocumentPageViewer - Search and Highlight Text in an Arbitrary Visual Tree . Unfortunate, two serious issues present there.
Zoom and page changed events for FlowDocumentPageViewer
In the category of the pot talking to the pan, I present you ScrollViewer . It's the main control to implement scrolling in your templates, but it's also the one not respecting a very fundamental rule of scrolling: if you're done scrolling, let your parent scroll! Not only does ScrollViewer handles the mouse scrolling even when no more scrolling is needed, but it also does so when there's nothing to scroll, or worse when it is told not to scroll! Let's take an example XAML file. < Window x : Class ="CaffeineIT.Blog.ScrollViewerExample.Window1" xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
WPF Tips'n'Tricks #6: Preventing ScrollViewer from handling the mouse wheel
Routed Event Viewer « Karl On WPF – .Net
Understanding the order in which routed event handlers are invoked is an important WPF programming concept. I wrote the below demonstration program as a visual aid for my WPF presentations and wanted to share it. It allows the user to select which routed event handlers to handle, which event handler will mark the routed event as handled and simulates code running in the handler.One of the primary tenets of Halfwit is that it should be completely drivable from the keyboard. That means that while I code it I have to pay very close attention to where the keyboard focus is, and what's currently "selected". To that end, it's important that when you switch away from a timeline and then switch back, the same tweet that you previously had selected is still selected, and it still has keyboard focus so you can navigate around it with the up and down arrow keys.

