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
Bendradarbiaukite su mumis dirbdami „GitHub“
Šio turinio šaltinį galima rasti „GitHub“, kur taip pat galite kurti ir peržiūrėti problemas bei teikti užklausas. Daugiau informacijos žr. mūsų bendraautorių vadove.
.NET Desktop feedback
Atsiliepimai
https://aka.ms/ContentUserFeedback.
Jau greitai: 2024 m. palaipsniui atsisakysime „GitHub“ problemų, kaip turiniui taikomo atsiliepimų mechanizmo, ir pakeisime jį nauja atsiliepimų sistema. Daugiau informacijos žr.Pateikti ir peržiūrėti atsiliepimą, skirtą