Skip to content

Binding Grid.RowDefinitions / Grid.ColumnDefinitions #17820

Answered by stevemonaco
DM-3 asked this question in Q&A
Discussion options

You must be logged in to vote

The binding system requires you to bind target properties that are StyledProperty or DirectProperty. Grid.RowDefinitions is a normal CLR property. Similar to WPF, it's not designed to be binded to and mutating can be difficult. I tend to use Grid as a fixed table layout, although not fixed cell size. However, that's not strictly the case if you're mutating in code-behind.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DM-3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants