Make dependency object properties bindable as a static resource?
问题 How to make an array of dependency object properties bindable for later binding as a static resource? The code I have now, it seems that my DependencyObject bypasses the dependency property system... I have the following class: public class ValueMarker : DependencyObject { public static readonly DependencyProperty BrushProperty = DependencyProperty.Register("Brush", typeof(Brush), typeof(ValueMarker), new FrameworkPropertyMetadata(Brushes.Aqua)); public static readonly DependencyProperty