Top "Dependency-properties" questions

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

Dependency property error

I am learning dependency properties. I read many posts & books but still I am not clear. The program shown …

.net wpf dependency-properties
Why dependency properties?

Why did Microsoft go the route of making dependency properties and dependency objects instead of using reflection and maybe attributes?

wpf silverlight dependency-properties
Binding to UserControl DependencyProperty

I have created a UserControl with some DependencyProperties (in the example here only one string property). When I instantiate the …

c# wpf binding user-controls dependency-properties
DependencyProperty Default Value

I'm trying to get a DependencyProperty working in WPF. I'm using: public static readonly DependencyProperty DisplayModeProperty = DependencyProperty.Register("DisplayMode", typeof (…

wpf binding dependency-properties default-value
What's the difference between Dependency Property SetValue() & SetCurrentValue()

The reason why I am asking this is because I was recommended by @Greg D (from this question) to use …

wpf dependency-properties setvalue setcurrentvalue
Dependency Property assigned with value binding does not work

I have a usercontrol with a dependency property. public sealed partial class PenMenu : UserControl, INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; protected …

c# windows-store-apps winrt-xaml dependency-properties windows-8.1
Defining InputBindings within a Style

I'm creating a WPF app using the MVVM design pattern, and I'm trying to extend the TabItem control so that …

wpf mvvm dependency-properties inputbinding
Displaying FontFamily in Combobox

My goal is to manipulate the text-styles of my application via DependencyProperties. I got a diagram in which the texts …

wpf combobox dependency-properties attached-properties
Silverlight: How to receive notification of a change in an inherited DependencyProperty

I have a control which inherits from (you guessed it) Control. I want to receive a notification whenever the FontSize …

silverlight dependency-properties
Spring bean fields injection

Using Spring IoC allows to set bean properties exposed via setters: public class Bean { private String value; public void setValue(…

java spring inversion-of-control dependency-properties javabeans