¡@

Home 

c# Programming Glossary: drawingbrush

How to draw gridline on WPF Canvas?

http://stackoverflow.com/questions/6434284/how-to-draw-gridline-on-wpf-canvas

You're just drawing a grid so you could just create a DrawingBrush to draw a single grid square and tile it to fill in the rest... you already have the horizontal and vertical step sizes DrawingBrush x Key GridTile Stretch None TileMode Tile Viewport 0 0 20 10.. Absolute ^^^^^^^^^^^ set the size of the tile DrawingBrush.Drawing GeometryDrawing GeometryDrawing.Geometry draw a single..