6

Code Generation from XAML in Visual Studio 2019! (WPF, UWP, & Xamarin.Forms)

 3 years ago
source link: https://www.youtube.com/watch?v=YX04sxwLMBE
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
#XamarinForms #XAML #MVVM

Code Generation from XAML in Visual Studio 2019! (WPF, UWP, & Xamarin.Forms)

4,310 views
•Mar 25, 2021

OH MY GOODNESS!!! Visual Studio 2019 version 16.9 introduced one of the most amazing features ever... Auto code generation directly from your XAML! Turn your Bindings and Commands directly into source code in your code behind or view model! Today I will show you this awesome new feature!

If you are using Xamarin.Forms you can set the x:DataType or the BindingContext. If you are using WPF/UWP set the DataContext or d:DataContext. Read more: https://montemagno.com/code-generatio...

This feature is currently only on Visual Studio 2019 v16.9 on Windows and not Visual Studio for Mac yet.

Time Codes: 00:00​ - Intro 02:05​ - Setup & Auto Generate Bindings 05:00​ - Generate Commands 05:50​ - Cleaner Generation with BaseViewModel 07:00​ - Wrap-up

Links: My Blog on the Features: https://montemagno.com/code-generatio...​ Blog VS 2019 16.9 - https://devblogs.microsoft.com/visual...​ 16.9 Release Notes: https://docs.microsoft.com/visualstud...

Follow: GitHub: https://github.com/jamesmontemagno​ Twitter: https://twitter.com/jamesmontemagno​ Twitch: https://twitch.tv/jamesmontemagno​ Website: https://www.montemagno.com

My Setup: * Blue Spark Microphone - https://amzn.to/3qgtYkq​ * Blue Pop Filter - https://amzn.to/3jEWM3r​ * Rode Microphone Arm - https://amzn.to/2Z68AlE​ * Sony MDR7306 Headphones - https://amzn.to/372jxta​ * Stream Deck - https://amzn.to/373Uk1n​ * Elgato Cam Link - https://amzn.to/3a9eGbh​ * GoPro Hero - https://amzn.to/374lm90​ * MX Master 2S Mouse - https://amzn.to/3d7J2gj​ * Tecware Phantom Keyboard - https://amzn.to/3aUP4y9

#XamarinForms#XAML#MVVM#CodeGen

Show lessShow more


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK