I have my own dependency property defined as follows:
public static readonly DependencyProperty MyDependencyProperty = DependencyProperty.Register( "MyCustomProperty", typeof(string), typeof(MyClass)); private string _myProperty; public string MyCustomProperty { get { return (string)GetValue(MyDependencyProperty); } set { SetValue(MyDependencyProperty, value); } }
Now I will try to set this property in XAML
<controls:TargetCatalogControl MyCustomProperty="Boo" />
But the installer never gets into DependencyObject! Although this happens when I change the property as a regular property, not Dep Prop
Bob
source share