Тёмный

Reusable, Custom Controls in .Net Maui! 

Programming With Chris
Подписаться 1,6 тыс.
Просмотров 14 тыс.
50% 1

Опубликовано:

 

20 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@ProgrammingWithChris
@ProgrammingWithChris 2 года назад
Thanks for watching! Let me know what kind of controls you're thinking of making, and I hope this helps you out there! Also check out the blog post in the description from Pedro Jesus on the Microsoft Blog, it talks about these topics further! 🕘Timestamps: 00:00 - Video Start 00:25 - My Circular Button Custom Control 01:58 - How to Create the Control's Class 04:47 - The OnPropertyChanged Methods 07:31 - How to use your Custom Control 10:02 - One Quick 'Gotcha' I Ran Into
@jeffm3865
@jeffm3865 2 года назад
Excellent video. Haven’t yet seen another video on how to do this using Maui. Much appreciated.
@richardlalan7
@richardlalan7 2 года назад
Took me a while to find something this clear. Thank you!
@rogerp5816
@rogerp5816 2 года назад
Another very informative video. Thanks for producing these for all of us learning C# and .NET MAUI.
@ozzietradie6514
@ozzietradie6514 2 года назад
I'll check this out when I get home after work love your work on custom ui
@dieterboullart4124
@dieterboullart4124 Год назад
You should see a bindable property (comparable to a dependency property in WPF and UWP) as a kind of unique key (but with associated settings and behavior). Each MAUI control has a dictionary of bindable property keys and values. If a control has no value set for a specific bindable property, let's say for "IsVisibleProperty", it will not take up memory for that instance. Calling the non-static getter of "IsVisible" will call GetValue() which will look up the value in the dictionary for the key "IsVisibleProperty". If it does not find that value, it will return the default value as described in the definition of the static bindable property "IsVisibleProperty". That's why the bindable property itself is static, it's a shared "key" between all instances of the class.
@StormkeepDaniel
@StormkeepDaniel 2 года назад
Such useful info. That 'gotcha' almost got me. Thanks again Chris!
@Mr863Mexican
@Mr863Mexican 2 года назад
Gotcha
@thesickness1340
@thesickness1340 2 года назад
You could say that gotcha really gacha!
@thesickness1340
@thesickness1340 2 года назад
Very informative video! Thanks for the upload!
@CodyBraddock13
@CodyBraddock13 2 года назад
I agree, I learned so much!
@RaabStephan
@RaabStephan 2 года назад
This is all coming along so nicely! Also looks like you were able to figure out the checkbox colors not changing correctly.
@Eurideux
@Eurideux 2 года назад
This is so helpful! Thank you so much!
@istuart0
@istuart0 10 месяцев назад
I created a Circular Button (called a Fab - Floating Action Button on Android) using a Grid. It looked OK but didn't respond to a user tap. Now, I've copied your ScaleTo & Easing code and it reacts in a pleasing way that gives the user feedback it has been clicked.
@RajK09
@RajK09 2 года назад
Nice tutorial man!
@GuildOfCalamity
@GuildOfCalamity 2 года назад
Great video! Can you make a custom calendar control where you can select and highlight multiple days? The default calendar control is kinda weak.
@abdulkabir_02
@abdulkabir_02 8 месяцев назад
Hi thank you for sharing your knowledge, Can you show us a custom tabbar with Button ?
@ozzietradie6514
@ozzietradie6514 2 года назад
I'm working on a radial dial control it's for a opensource project in mixed reality.Trying hidden buttons where you drop all color from a control and tying swipe control on the button right button swipe down rotates clockwise swipe up rotates anti clockwise left button is opposite. Problem is keeping the state of the dial it's easy to use rotate animation but controlled rotation is harder to implement.
@liemnguyen3088
@liemnguyen3088 2 месяца назад
Is there a code snippet to create BindableProperty?
@randypenajimenez3893
@randypenajimenez3893 2 года назад
Do you recommend MAUI for production? Im about to start a new app, i had bad experience with Xamarin, i dont to use it anymore so im considering other tecnologies.
@ProgrammingWithChris
@ProgrammingWithChris 2 года назад
Yeah, that’s a good question. In Microsoft’s opinion, it’s ready to go. I think for me, it depends on the complexity of the app, along with how much “framework bug tolerance” you have. Maui still does have a lot of little bugs, and if those things turn you off, then another, more established framework may be better. But that will also get better with time. I think I’ll probably use Maui until I find a reason not to, since it’s just what I’m most familiar with at the moment. Especially if the F# support improves, since it is lacking, tooling wise. Hope that makes sense.
@CowboyCanadian
@CowboyCanadian Год назад
This is great 🎉
@Elias-ib1qt
@Elias-ib1qt Год назад
As an iOS developer looking for a cross platform developer experience, I am so shocked how ultra giga shit all of the alternatives look like.
@Czytaj_dalej...
@Czytaj_dalej... Год назад
Hi mate, where are you?
@jacobskinner3108
@jacobskinner3108 2 года назад
PЯӨMӨƧM 🤤
Далее
How Handlers Work In .Net Maui!
20:48
Просмотров 6 тыс.
Would you go on a Blind Date in Italy?
0:51
Просмотров 18 млн
Почему Катар богатый? #shorts
0:45
Drawing Graphics In Your Apps with Maui.Graphics
10:10
Brutally honest advice for new .NET Web Developers
7:19
programming projects that taught me how to code
9:49
Просмотров 297 тыс.
CoPilot Review: My Thoughts After 6 Months
9:45
Просмотров 552 тыс.
The Future in .NET MAUI | DevReach 2023
57:50
Просмотров 7 тыс.
Would you go on a Blind Date in Italy?
0:51
Просмотров 18 млн