Stop copy and pasting code and start creating re-usable styles with Xamarin.Forms. Reusable styles and resources can be anything! From colors, integers, booleans, and full-blown customizations of controls let you re-use and optimize your code. Re-use them on a single page or throughout your entire application. If they sound like CSS they are, but in XAML! I show you how.
Full Xamarin Beginner's Playlist - • Xamarin & Xamarin.Form...
👕 Buy some swag! - jamesmontemagno.myspreadshop....
Time Codes:
00:00 Introduction & Why Re-usable Resources
02:25 Our first Xamarin.Forms Color Resource
04:40 StaticResrouce vs DynamicResource
06:30 Application Resources
08:30 Styles for Controls
13:25 Dynamic Resources with OnPlatform or OnIdiom
15:00 Cascading Style Inheritance
17:40 Wrap-up
Links:
* My Coffee App GitHub - github.com/jamesmontemagno/my...
* Xamarin.Forms Styles Documentation: docs.microsoft.com/xamarin/xa...
* Good Looking Xamarin.Forms Apps GitHub - github.com/jsuarezruiz/xamari...
What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: cleclothingco.myshopify.com/
What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: / bcez1onhiqx
Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
Follow:
👨💻 GitHub: github.com/jamesmontemagno
🦜 Twitter: / jamesmontemagno
🔴 Twitch: / jamesmontemagno
📄 Website: www.montemagno.com
📰 Newsletter: newsletter.montemagno.com/
My Setup:
* Blue Spark Microphone - amzn.to/3qgtYkq
* Blue Pop Filter - amzn.to/3jEWM3r
* Rode Microphone Arm - amzn.to/2Z68AlE
* Sony MDR7306 Headphones - amzn.to/372jxta
* Stream Deck - amzn.to/373Uk1n
* Elgato Cam Link - amzn.to/3a9eGbh
* GoPro Hero - amzn.to/374lm90
* MX Master 2S Mouse - amzn.to/3d7J2gj
* Tecware Phantom Keyboard - amzn.to/3aUP4y9
#XamarinForms #Styles #Resources
Негізгі бет Ғылым және технология Styling Xamarin.Forms Apps with Reusable Resources & Styles
Пікірлер: 46