Share via


WPF Data Binding with LINQ to XML

This section provides information about how to use LINQ to XML as the data source for data binding in Windows Presentation Foundation (WPF) applications. This scenario relies upon special dynamic properties of the System.Xml.Linq.XAttribute and System.Xml.Linq.XElement. These dynamic properties are also documented in this section.

In This Section

Topic Description

WPF Data Binding with LINQ to XML Overview

Introduces the dynamic data-binding features provided by the System.Xml.Linq namespace, and explains how these features can be used as a data source for user interface components in the WPF.

LINQ to XML Dynamic Properties

Provides reference information about the dynamic properties exposed by the XAttribute and XElement classes.

WPF Data Binding Using LINQ to XML Example

Provides a WPF example that binds user interface components to an XML data source.

Reference

System.Xml.Linq

XElement

XAttribute

See Also

Concepts

Advanced LINQ to XML Programming

Build Date:

2012-08-02