Top "Data-binding" questions

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

How to format TimeSpan in XAML

I am trying to format a textblock which is bound to a TimeSpan property. It works if the property is …

c# wpf xaml data-binding string-formatting
ComboBox.SelectedValue not updating from binding source

Here's my binding source object: Public Class MyListObject Private _mylist As New ObservableCollection(Of String) Private _selectedName As String Public …

wpf data-binding binding combobox
WPF Data binding Label content

I'm trying to create a simple WPF Application using data binding. The code seems fine, but my view is not …

c# wpf data-binding inotifypropertychanged
Call Command from Code Behind

So I've been searching around and cannot find out exactly how to do this. I'm creating a user control using …

c# wpf xaml data-binding command
Databind ASP.NET List of ListItem to DropDownList issue

I've just come across this bizarre thing that I was expecting to work in a different (logical) way, but it …

asp.net data-binding list drop-down-menu listitem
Why does the DataGrid not update when the ItemsSource is changed?

I have a datagrid in my wpf application and I have a simple problem. I have a generic list and …

c# wpf data-binding datagrid itemsource
Textbox binding update in WPF

MessageText property gets updated only when I hit another control. What is more if I press any button it's Click …

c# wpf xaml data-binding
Knockout template using data-bind to image src property not working

I cannot see what is wrong here but the image does not display using the following Knockout template: <script …

data-binding knockout.js knockout-templating
INotifyPropertyChanged vs. DependencyProperty in ViewModel

When implementing the ViewModel in a Model-View-ViewModel architecture WPF application there seem to be two major choices how to make …

wpf data-binding architecture mvvm dependency-properties
List<T> vs BindingList<T> Advantages/DisAdvantages

Can someone describe what the difference between the two are for my project. Currently I have a List<MyClass&…

c# .net winforms data-binding datagridview