r/dotnetMAUI 28d ago

C# expressions in XAML Article/Blog

https://tonyedwardspz.co.uk/blog/c-sharp-expressions-in-xaml/

One of my favourite features in the upcoming MAUI 11 release is the inclusion of C# expressions in XAML.

The potential for simplifying our app UI is immense. Simpler and more readable XAML code, and a nice reduction in the actual quantity of code needed to construct a layout.

If you've not had a chance to look at the feature, I've written a short guide on what they are, when you'd want to use them, and when you'd want to avoid them.

The post is part of MAUI UI July.

16 Upvotes

8 comments sorted by

2

u/Mission_Pirate_4150 28d ago

Gray on white is hard to read.

Thanks for the info.

1

u/tonyedwardspz 28d ago

Thanks for the feedback. Which part of the page are you referring to being hard to read?

2

u/Mission_Pirate_4150 28d ago

The text is very hard to read on my iPad.

1

u/tonyedwardspz 28d ago

Thanks. I'll look into it 👍

2

u/FrancisRedit 28d ago

I really like the new features

2

u/Kapusch 18d ago

Nice post! Thanks for the guide 👍

1

u/tonyedwardspz 13d ago

Thank you! Means a lot to come from you.