Data binding how-to topics
The topics in this section describe how to use data binding to bind elements to data from a variety of data sources in the form of common language runtime (CLR) objects and XML.
In this section
- Create a Simple Binding
- Specify the Binding Source
- Make Data Available for Binding in XAML
- Control When the TextBox Text Updates the Source
- Specify the Direction of the Binding
- Bind to a Collection and Display Information Based on Selection
- Bind to an Enumeration
- Bind the Properties of Two Controls
- Implement Binding Validation
- Implement Validation Logic on Custom Objects
- Get the Binding Object from a Bound Target Property
- Implement a CompositeCollection
- Convert Bound Data
- Create a Binding in Code
- Get the Default View of a Data Collection
- Navigate Through the Objects in a Data CollectionView
- Filter Data in a View
- Sort Data in a View
- Sort and Group Data Using a View in XAML
- Use the Master-Detail Pattern with Hierarchical Data
- Use the Master-Detail Pattern with Hierarchical XML Data
- Produce a Value Based on a List of Bound Items
- Implement Property Change Notification
- Create and Bind to an ObservableCollection
- Implement PriorityBinding
- Bind to XML Data Using an XMLDataProvider and XPath Queries
- Bind to XDocument, XElement, or LINQ for XML Query Results
- Bind to the Results of a LINQ Query
- Use XML Namespaces in Data Binding
- Bind to an ADO.NET Data Source
- Bind to a Method
- Set Up Notification of Binding Updates
- Clear Bindings
- Find DataTemplate-Generated Elements
Reference
Related sections
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
.NET Desktop feedback