Top "Dependency-properties" questions

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

Binding UserControl Dependency Property and MVVM

I have a MainWindow containing a UserControl, both implemented in MVVM-pattern. The MainWindowVM has properties that I want to bind …

wpf mvvm dependency-properties
WPF - IsEnabled Binding to DependencyProperty not working properly

I have a dependency property defined in my window as below: public static readonly DependencyProperty IsGenericUserProperty = DependencyProperty.Register("IsGenericUser", typeof (…

wpf button binding dependency-properties isenabled
WPF bind usercontrol's property to parent's property

I have created a usercontrol, which has 2 dependency properties. I want to bind those dependency properties to the mainViewModel's property, …

wpf dependency-properties
How to debug DependencyProperty.Unsetvalue errors when the InnerException is null

I have a custom login usercontrol that has a normal textbox and a passwordbox. Blend refuses to cooperate with the …

wpf dependency-properties
Custom Control Dependency Property Binding

I am going insane trying to get this to work with even the most basic example. I cannot for the …

wpf wpf-controls dependency-properties
How to use Attached property within a style?

I have created an Image within a ButtonStyle. Now I have created an Attached Property so that I can set …

.net wpf silverlight dependency-properties attached-properties
DependencyProperty.Register() or .RegisterAttached()

What's the difference between the two, when should RegisterAttached() be used instead of .Register()?

wpf workflow-foundation dependency-properties
Quickly create dependency properties in VS

Is there any way to speed up creating dependency properties in Visual Studio? Like some template or refactoring option that …

.net wpf visual-studio binding dependency-properties
Twoway-bind view's DependencyProperty to viewmodel's property?

Multiple sources on the net tells us that, in MVVM, communication/synchronization between views and viewmodels should happen through dependency …

c# wpf mvvm dependency-properties
Add dependency property to control

I am using the Infragistics XamDateTimeEditor control and I want to add a dependency property to it to allow the …

wpf dependency-properties infragistics