以下是WPF的解决方案:
<DrawingBrush Viewport="0,0,20,20"
ViewportUnits="Absolute" TileMode="Tile">
<DrawingBrush.Drawing>
<DrawingGroup>
<GeometryDrawing Geometry="M0,0 L1,0 1,0.1, 0,0.1Z" Brush="LightBlue" />
<GeometryDrawing Geometry="M0,0 L0,1 0.1,1, 0.1,0Z" Brush="LightBlue" />
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
但据我所知,WinPhone8下没有DrawingBrush。