I'd like to set a DrawingBrush to DataGridCelland I use
<DrawingBrush TileMode="Tile" ViewportUnits="RelativeToBoundingBox" Viewport="0,0,0.05,1">
<DrawingBrush.Drawing>
<DrawingGroup>
<GeometryDrawing>
<GeometryDrawing.Pen>
<Pen Brush="Gray" Thickness="0.05"/>
</GeometryDrawing.Pen>
<GeometryDrawing.Geometry>
<LineGeometry StartPoint="0,1" EndPoint="1,0" />
</GeometryDrawing.Geometry>
</GeometryDrawing>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
I have undesired result when DataGridCells have unequal widths like below.

How should I change the Brush so that regardles of the widht of the individual cells the result would look like this.

Change
ViewportUnitsfromRelativeToBoundingBoxtoAbsoluteand adjustViewport.Something like this:
which looks like this