| Home / General / IValueConverter in WPF data binding |
digWin is a community news sharing site for Microsoft Techies. Share interesting news/links and rate them!
IValueConverter in WPF data binding
posted by jhorra (5) 10 months ago (blogs.msdn.com)
One of the handy things that you can do with data binding in WPF is that you convert the data as you pull it from the data source. The mechanism for this is the IValueConverter interface. Let's say that you have a list of numbers representing positions in a race, and you want to display this list with the appropriate positional text (for example, 1 is 1st, 2 is 2nd, 3 is 3rd, etc). Rather than save your data in this form (which would not be convenient at all) you could leave the data as an int in the data source, and write a value converter to convert the integer into the appro
Microsoft news, tips and tricks search
Comments
Add a comment
Post voted by 1 digWinners
Featured Links
-
Free Download Trial: SharePoint Migration, Backup and Recovery Software
DocAve: Enterprise, full-fidelity backup & recovery software for SharePoint provides essential protection & management tools, and allows for a data migration from Exchange Public Folders in to SharePoint 2007 & 2003.
User
Sponsor
Anti spam filter for mail servers
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!
Featured Product
Categories
Upcoming NEW
- high quality casio lithium ion digital camera battery np-20
- Converting JasperReports to PowerPoint PPT and PPS formats
- Windows Data Recovery
- 5 Ingredients of Effective Wordpress Themes
- How to add Google Maps to your website?
- CANON BP-511 Battery
- CANON NB-4L Battery
- CANON NB-1LH Battery
- ASP.NET MVC & Threads
- CANON NB-2LH Battery
- JVC BN-VF714 Battery
- How to Remove DRM from iTunes AAC M4V M4P
- iPhone 3G new key features
- Aspose.Newsletter: How can you migrate VSTO code to Aspose.Cells?
- Windows8 = Codename Midori ?
- Simple AJAX Methodology
- Speeding Up Post Load Script
- Google anlaytics Wordpress plugin
- Preventing hacks on your WordPress blog
- Use FeedBurner to Manage Your WordPress Feeds
Recent comments
- Plugged In, Not Charging - Windows Vista + Laptop by Anonymous user
- Clean Box 3 Column Blogger Xml Template by denny
- Clean Box 3 Column Blogger Xml Template by Anonymous user
- Windows Data Recovery by windows (0)
- 0x86000209 sync error by Mike H
- iPhone 3G new key features by xiaowanzi (0)
- Plugged In, Not Charging - Windows Vista + Laptop by Toob
- Free 48 Hour Xbox 360 Live Trials - One Per Email Address by shane
- Microsoft DirectX 10.1 Version - Final Update for DirectX 10? by Anonymous user
- Roadsync Full Version - Free Software Download by Anonymous user



