You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.
I am developing Vazor, a VB.NET Razor built on xml literals supported in VB.NET code. I cam up with an idea to use simple data templates like this:
Note: you can use any var name other than m.
I manage to do it by using Reflection in the function ParseTemplate:
https://github.com/VBAndCs/Vazor/blob/master/Vazor/VazorExtensions.vb
I think XAML can make use of this simple template formula, instead of XAML DataTemplate which is rather complex and verbose.
The ListBox.ItemsSource will be the data source used by the template to generate the items.
Another idea, based on Razor and xml literals: Allow us to write VB and C# in Xaml!
In fact, the above code can be written in VB today like this:
And it generates something like this:
The text was updated successfully, but these errors were encountered: