Top "Dependency-properties" questions

A property in WPF and Silverlight that can be set through methods such as, styling, data binding, animation, and inheritance.

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
A 'Binding' can only be set on a DependencyProperty of a DependencyObject

From a custom control based on TextBox, I created a property named Items, in this way: public class NewTextBox : TextBox { …

c# wpf binding user-controls dependency-properties
What is a dependency property?

What is a dependency property in .Net (especially in WPF context). What is the difference from the regular property?

.net workflow-foundation dependency-properties
Listen to changes of dependency property

Is there any way to listen to changes of a DependencyProperty? I want to be notified and perform some actions …

c# .net wpf events dependency-properties
How to bind to a WPF dependency property when the datacontext of the page is used for other bindings?

How to bind to a WPF dependency property when the datacontext of the page is used for other bindings? (Simple …

wpf data-binding dependency-properties
What are the defaults for Binding.Mode=Default for WPF controls?

In WPF Binding.Mode, when selecting Default, it depends in the property being binded. I am looking for some list …

.net wpf binding dependency-properties binding-mode
Why do I get a DependencyProperty.UnsetValue when converting a value in a MultiBinding?

I have an extremely simple IMultiValueConverter that simply OR's two values. In the example below, I want to invert the …

c# wpf xaml dependency-properties ivalueconverter
Binding to custom dependency property - again

The task: implement the simplest Dependency Property ever, which can be used in xaml like that: <uc:MyUserControl1 MyTextProperty="{…

wpf xaml binding dependency-properties
What's the difference between a dependency property and an attached property in WPF?

What's the difference between a (custom) dependency property and an attached property in WPF? What are the uses for each? …

.net wpf dependency-properties attached-properties
Binding on DependencyProperty of custom User Control not updating on change

I'm having difficulties with databinding on my custom user control (s). I created an example project to highlight my problem. …

c# wpf data-binding user-controls dependency-properties