Replies: 1 comment 11 replies
-
The best suggestion I have is to basically copy what the Xaml compiler does. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on a library to fully support WinUI 3 in code using fluent methods, without having to use XAML. The only problem I have is with classes like DataTemplate, ControlTemplate, etc. that I can't create without this weird XAML workaround.
XAML workaround
Isn't there some solution to create these objects only in code?
e.g.
and
then using fluent API I can do something like this:
Beta Was this translation helpful? Give feedback.
All reactions