Top "Binding" questions

This tag means different things in different contexts; consider using less ambiguous tags instead or in addition.

Binding objects defined in code-behind

I have some object that is instantiated in code behind, for instance, the XAML is called window.xaml and within …

c# .net wpf binding
WPF Binding StringFormat Short Date String

I would like to use Short Date named string format in WPF. I tried something like: <TextBlock Text="{Binding …

wpf xaml binding
How to bind list to dataGridView?

I seem to be running around in circles and have been doing so in the last hours. I want to …

c# .net binding datagridview
How to bind a List<string> to a DataGridView control?

I have a simple List<string> and I'd like it to be displayed in a DataGridView column. If …

c# binding datagridview
How To Raise Property Changed events on a Dependency Property?

I have a control with two properties. One is a DependencyProperty, the other is an "alias" to the first one. …

wpf binding
Bootstrap control with multiple "data-toggle"

Is there a way to assign more than one event to a bootstrap control via "data-toggle". For example, lets say …

button twitter-bootstrap binding
How can I bind a background color in WPF/XAML?

What do I have to change to the following code so that the background is red, neither of the 2 ways …

c# wpf xaml binding background
Simple WPF RadioButton Binding?

What is the simplest way to bind a group of 3 radiobuttons to a property of type int for values 1, 2, or 3?

wpf binding radio-button
bind/unbind service example (android)

can you give me a simple example of an application with background service which uses bind/unbind methods to start …

android binding service
WPF binding to Listbox selectedItem

Can anyone help with the following - been playing about with this but can't for the life of me get …

wpf binding listbox selecteditem