xaml shapes - relative to canvas size

Posted by taglius on Stack Overflow See other posts from Stack Overflow or by taglius
Published on 2010-06-14T13:50:45Z Indexed on 2010/06/14 13:52 UTC
Read the original article Hit count: 176

Filed under:
|

I have the need to draw shapes in XAML that are always relative to the container window/canvas size. For example, I need a window to show a 3x3 grid on it, where the grid always splits the window into 3 equal parts. Can I create lines that are bound to 1/3 the width of the grid?

thank you

© Stack Overflow or respective owner

Related posts about xaml

Related posts about drawing