drawing - xaml shapes - relative to canvas size -


I need to draw shapes in XAML which 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 divides the window into 3 equal parts. Can I create lines which are bound to 1/3 of the width of the grid?

Thank you

for the grid you want, the columns in XAML You can set the Definition ... You only have to set the column width in percent and you will get the desired effect.

Does this solve your problem or am I forgetting something


Comments

Popular posts from this blog

lex - Building a lexical Analyzer in Java -

windows - Heroku throws SQLITE3 Read only exception -

python - rename keys in a dictionary -