title: WPF Drawing context
body: <p>In my wpf application i am drawing a lot of geometries as below. My requirement is to change the color of drawingvisual with out redrawing it? any possibilities in wpf?</p>
  
  <pre><code>  using (DrawingContext vDrawingContext = vDrawingVisual.RenderOpen())
          {
            StreamGeometry vGeom = GetCutGeometry(mLength, mWidth);
            vDrawingContext.DrawGeometry(mBackGroundBrush, ForeGroundPen, vGeom);
            vDrawingContext.Close();
            VisualChildren.Add(vDrawingVisual);    
  
          }
  </code></pre>
  
  <p>How could be mBackGroundBrush dyamic colors?</p>