Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Data Binding » Windows Presentation Foundation   (RSS)

Data Validation in 3.5

A cool new feature in the Data area in 3.5 is the support for IDataErrorInfo. Let's take a look at the data validation model in 3.5 by starting with a memory refresher of that in 3.0. We end with a section that discusses how to choose between the different

Expert advice on XmlDataProvider usage

I came across the following Q&A from the technical chat transcript from several months ago. Our WPF data binding expert Sam Bent was the one providing the great answers. It’s excellent information about the XmlDataProvider and I thought I’d share

Binding to Web Services

In WPF, you bind to objects returned by web service method calls the same way you bind to any other objects. To demonstrate, we’ll walk through a simple application that consumes the MSDN/TechNet Publishing System (MTPS) Content Service, discussed here

How do I programmatically interact with template-generated elements? Part II

This post shows you how to find a named element within a DataTemplate. In Part I , we discussed how to find a named element within a ControlTemplate. That was fairly simple; you’d call Template.FindName on the control that the ControlTemplate has been

Displaying Enum Values using Data Binding

Some of the FAQs about data binding are: • How do I bind to a method? • How do I bind between instantiated controls? • How do I bind an ItemsControl to an enum? I put together a quick sample that should answer the above questions: < Window xmlns =
 
Page view tracker