Inline Row/ColumnDefinitions with bindings possible? #18983
Answered
by
stevemonaco
theoractice
asked this question in
Q&A
-
Let's say there's a
Then can it be changed to something like this?
|
Beta Was this translation helpful? Give feedback.
Answered by
stevemonaco
Jun 3, 2025
Replies: 1 comment
-
Not today. These things work through a duck-typed While lists can be parsed, bindings are complex and would need to go through compiled bindings. That capability doesn't exist today. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
theoractice
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not today. These things work through a duck-typed
static T Parse(...)
method that allows the type to be parsed in XAML from a string (without any type of converter). See:Avalonia/src/Avalonia.Controls/ColumnDefinitions.cs
Line 41 in ae37ccd
While lists can be parsed, bindings are complex and would need to go through compiled bindings. That capability doesn't exist today.