I am trying to change the Brush property from the following code snippet from another control, but don’t know how to get to this property.
This drawing brush is defined as Application.Resource en App.XAML
<DrawingBrush x:Key="Disp_Origin" Stretch="Uniform">
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Geometry="F1 M 720.099,497.862C 778.822,493.976 837.662,492.02 896.514,492.02">
<GeometryDrawing.Pen>
<Pen Thickness="1.33333" MiterLimit="2.75" Brush="#FFA5AEB7"/>
</GeometryDrawing.Pen>
</GeometryDrawing>...
I need to get the pen brush property when another control is focused or frozen.
I don't know if this is possible
source
share