Working with .NET MAUI Styles - .NET MAUI 101

  Рет қаралды 8,044

Gerald Versluis

Gerald Versluis

Күн бұрын

Пікірлер: 40
@jfversluis
@jfversluis 2 жыл бұрын
Want to learn more about .NET MAUI? More snack-sized videos can be found on the .NET MAUI 101 playlist: kzbin.info/www/bejne/o5LSXqKOe9qUa8k How about this follow-up video from this and implement not just styles, but styles with light and dark theme support: kzbin.info/www/bejne/o5LSXqKOe9qUa8k
@architpoddar
@architpoddar 2 жыл бұрын
Hey Gerald, amazing content as always. :) Would really appreciate a separate video explaining VisualStates and MergedDictionaries.
@jfversluis
@jfversluis 2 жыл бұрын
Great suggestions, thank you!
@MrSlowGain
@MrSlowGain 2 жыл бұрын
Thanks Gerald. Would love a run down on visual states. In particular with CarouselView and how that ties in with the CurrentItem...or selected item.- not sure it doesn't seem to have a selection mode like CollectionView. Has me confuse-ed.
@jfversluis
@jfversluis 2 жыл бұрын
Putting it on the list, thanks!
@schulz5patrick
@schulz5patrick 2 жыл бұрын
Nice video as always. But how can you set the fontfamily application wide ? you would have to need to set the fontfamily to each element which can contain a text. Also changing the fontfamily of Title-property inside ShellContent etc. can't be done
@Mielesplayz
@Mielesplayz 2 жыл бұрын
My earbuds didnt work for weeks and now, this is the first time I can watch your video with sounds XD
@jfversluis
@jfversluis 2 жыл бұрын
Haha congrats on the working earbuds! Hope my voice is everything you expected it to be! :P
@Mielesplayz
@Mielesplayz 2 жыл бұрын
@@jfversluis thanks, you have a nice voice btw
@doublebass120
@doublebass120 2 жыл бұрын
Great content as always, Gerald. I tend to separate my resource dictionaries into separate xaml files (one for colors, one for brushes, one for control templates, one for values, one for styles). I brought this concept over from my WPF days into xamarin, but I had to come up with a janky solution to wire it up. Can you please go over merged dictionaries with MAUI?
@jfversluis
@jfversluis 2 жыл бұрын
That’s definitely a good approach! Merged dictionaries is a good one! I’ll add that to the list
@julybrown4916
@julybrown4916 2 жыл бұрын
Content worth my subscription. Thanks for you for taking us along this journey.
@jfversluis
@jfversluis 2 жыл бұрын
Thanks so much July! I appreciate your support!
@terryhenning8325
@terryhenning8325 Жыл бұрын
Is there a way to get styles to work appwide if the control is not native? For example, I tried to apply a style to "Popup" from the Community Toolkit, but it would not work unless I put it right in the the XAML for my Popup subclass. I tried this in the styles.xaml file...
@metacapitalism5113
@metacapitalism5113 Жыл бұрын
scenario: Windows and Android deployment. On Android's small screen Left, Right Padding of X. On windes of 3 times X. Which is preferable DynamicResource or StaticResource. And I presume Themes are for a different use case example.
@terryhenning8325
@terryhenning8325 2 жыл бұрын
Thank you for this video on a topic that doesn't get enough attention!!
@jfversluis
@jfversluis 2 жыл бұрын
Absolutely true! Anything else you’d like to see more about here?
@terryhenning8325
@terryhenning8325 2 жыл бұрын
@@jfversluis Thank you for responding! I've put some thought into this, and I would like to know more about shell/non-shell in MAUI apps, specifically with the use of tabs in the UI. I use MVVM with the toolkit, so I am using DI pretty heavily. I found that "TabbedPage" doesn't seem to support DI because it expects a default constructor. That got me wondering about tabs, and the differences between shell/non-shell apps. I am not targeting mobile, just Windows/Mac desktop, so maybe Shell is not for me? But because I am using DI, does that mean I must use ShellApp? I realize that's a complex topic and maybe not suited to a short KZbin video.
@terryhenning8325
@terryhenning8325 2 жыл бұрын
@@jfversluis Would also love to see something about logging. It doesn't seem to get any attention. Thanks! 😀
@jfversluis
@jfversluis 2 жыл бұрын
@@terryhenning8325 Client-Side Logging in .NET MAUI with MetroLog.Maui kzbin.info/www/bejne/jZrGnqF-bJeenJI
@terryhenning8325
@terryhenning8325 2 жыл бұрын
@@jfversluis Double apology! I realized you had done a video on logging after I asked. Second, I mistook your question as being more general.
@jagadishwarballa
@jagadishwarballa 2 жыл бұрын
Can you share videos on How to play video and audio in Maui applications ? Also how to handle authentication and authorisations in Maui?
@jfversluis
@jfversluis 2 жыл бұрын
Will put those on the list, thanks!
@davidjackson148
@davidjackson148 2 жыл бұрын
I'm told you can use CSS in MAUI apps to style things, can you do a video on that please :)
@snooki9
@snooki9 2 жыл бұрын
Hi gerald, great video ! I do not find how to activate the XAML Live Preview that you have. I always have to use the emulator, and would prever to have this live option. Can you explain how to avtivate that please ?
@jfversluis
@jfversluis 2 жыл бұрын
This should have all the details: docs.microsoft.com/visualstudio/xaml-tools/xaml-live-preview?view=vs-2022
@martinzazvorka3835
@martinzazvorka3835 2 жыл бұрын
Great video. Quick question. Comming from Prism and WPF i would love to use regions in MAUI. Is there out of the box solution ? Thanx.
@jfversluis
@jfversluis 2 жыл бұрын
I’m not really familiar… it’s not in .NET MAUI directly. But you can use Prism also with .NET MAUI so that should help!
@martinzazvorka3835
@martinzazvorka3835 2 жыл бұрын
@@jfversluis great news thanx.
@TheMarkDrake
@TheMarkDrake 2 жыл бұрын
Having a real tough time finding the correct packages to reference for a SQLite database. I'm adding old versions, that reference back to Xamarin. I only know this because the compiler gives me a warning about the mismatch. Could you clarify what/which packages are ready for .NET Maui? Thanks!
@jfversluis
@jfversluis 2 жыл бұрын
This has been working for me: github.com/jfversluis/MauiEncryptedSqliteSample/blob/main/MauiEncryptedSqliteSample/MauiEncryptedSqliteSample.csproj
@hungchip
@hungchip 11 ай бұрын
Maybe we want to use the same CSS selectors as the Web. But it seems that MAUI is not complete.
@jfversluis
@jfversluis 11 ай бұрын
Why not? That should just work
@francisdy7294
@francisdy7294 2 жыл бұрын
Gerald good day, for some reasons Im still using xamarin, can you give me link or idea how sync works in xamarin, my client wants to upload what is encoded offline, when connection is available, thank you in advance
@jfversluis
@jfversluis 2 жыл бұрын
That is a big topic and very dependant on how you've implemented all your data and database and strategies you want to consider to collission in data etc.
@francisdy7294
@francisdy7294 2 жыл бұрын
@@jfversluis can you make a simple video about it, so I know how to start
@KSingYT
@KSingYT 2 жыл бұрын
.NET MAUI Styles, How to use in c# 😵‍💫😵‍💫
@resler7ooo118
@resler7ooo118 2 жыл бұрын
Great s
@jfversluis
@jfversluis 2 жыл бұрын
Thanks!
@resler7ooo118
@resler7ooo118 2 жыл бұрын
@@jfversluis We are Hope's that you continue with Maui
Take Pictures in Your App with CameraView for .NET MAUI
19:05
Gerald Versluis
Рет қаралды 9 М.
Effective Alerts with Snackbar & Toast with .NET MAUI
15:39
Gerald Versluis
Рет қаралды 12 М.
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН
Непосредственно Каха: сумка
0:53
К-Media
Рет қаралды 12 МЛН
No XAML? No Problem! Create Your .NET. MAUI UI in Code with C# Markup!
19:13
.NET MAUI - Working with styles
9:55
Daniel Hindrikes
Рет қаралды 4,6 М.
🐚 Shell for .NET MAUI & Xamarin.Forms - What, why, and how?!?!
16:51
James Montemagno
Рет қаралды 37 М.
Use .NET MAUI FilePicker to Pick PDFs, Images, Videos and More!
15:24
Gerald Versluis
Рет қаралды 21 М.
Animating Controls in .NET MAUI & Xamarin.Forms
19:19
James Montemagno
Рет қаралды 27 М.
Test Bugfixes on Your Own .NET MAUI Project Before They're Released!1!
15:52
The .NET MAUI Community Toolkit: Converters, Controls and More!
14:59
Gerald Versluis
Рет қаралды 17 М.
ASP.NET Core Crash Course - C# App in One Hour
1:00:44
freeCodeCamp.org
Рет қаралды 1,6 МЛН
Understand DotNet MAUI Layouts | DotNet MAUI Tutorial
27:13
Coding Droplets
Рет қаралды 27 М.
Reusable styles in your app | .NET MAUI Minutes
7:16
dotnet
Рет қаралды 13 М.