Top "Data-binding" questions

A general technique that binds two data/information sources together and maintains them in sync.

ComboBox SelectedItem vs SelectedValue

The following code works as you’d expect — MyProperty on the model is updated when the user picks a new …

c# winforms data-binding combobox
How do I bind a List<CustomObject> to a WPF DataGrid?

I'm new to WPF and want to do some basic databinding. I have a List of a CustomObject and want …

c# wpf data-binding datagrid
WPF Data Binding and Validation Rules Best Practices

I have a very simple WPF application in which I am using data binding to allow editing of some custom …

.net wpf data-binding validation
What is two way binding?

I have read lots that Backbone doesn't do two way binding but I don't exactly understand this concept. Could somebody …

javascript data-binding backbone.js
Access parent DataContext from DataTemplate

I have a ListBox which binds to a child collection on a ViewModel. The listbox items are styled in a …

wpf xaml data-binding datatemplate relativesource
ListBox vs. ListView - how to choose for data binding

I'm considering either a ListBox or a ListView for a WPF application. It seems either supports data binding and item …

wpf data-binding listview listbox
How do I bind a WPF DataGrid to a variable number of columns?

My WPF application generates sets of data which may have a different number of columns each time. Included in the …

c# wpf xaml data-binding datagrid
AngularJS : The correct way of binding to a service properties

I’m looking for the best practice of how to bind to a service property in AngularJS. I have worked …

angularjs data-binding angularjs-service angularjs-controller
How to hide a TemplateField column in a GridView

How can I hide a TemplateField column in a GridView? I tried the following: <asp:TemplateField ShowHeader="False" Visible=…

asp.net .net data-binding gridview exception-handling
Richtextbox wpf binding

To do DataBinding of the Document in a WPF RichtextBox, I saw 2 solutions so far, which are to derive from …

c# wpf data-binding richtextbox