How to create an attached-property to change a resource's property?
- by king.net
I have a DrawingBrush as a resource like this:
<DrawingBrush x:Key="Calendar" Stretch="Uniform">
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Geometry="F1 M 28.0917,2.13333C 42.4005,2.13333 54,13.7329 54,28.0417C 54,42.3504 42.4004,53.95…