Тёмный

.NET MAUI and Shell - Customize Flyout 

Daniel Hindrikes
Подписаться 3,6 тыс.
Просмотров 14 тыс.
50% 1

In this video, Daniel is diving deeper into Shell and Flyout to see how you can work to customize Flyout to make it look like you want.

Наука

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

 

31 май 2022

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 31   
@j0nathan550.
@j0nathan550. Год назад
Thank you for an amazing tutorial on how to customize Shell!
@sipepguru
@sipepguru 2 года назад
nice work pal.
@sipepguru
@sipepguru 2 года назад
I was playing with this the otherday, trying to load my flyoutItems (menu items) from a ViewModel, wasn't sure how to achieve the icons.
@Andrew-yw6wy
@Andrew-yw6wy Год назад
Hi Daniel, great tutorial and it helps a lot. I have a question when playing around, if I want to add an extra in a flyout item, such as status or slide button by the side of title. For example I want show a special identity or status of one if the flyout item in the flyout menu. How can I manage to do that? Thank you!
@j0nathan550.
@j0nathan550. Год назад
Hey, I know it has being a very long time, but you can achive that by creating columns and rows in a visual. Although, you can bind info using {Binding}
@rahulsalokhe200
@rahulsalokhe200 Год назад
Can we open flyout drawer on custom button click?
@computerscience5
@computerscience5 6 месяцев назад
Why is the fllayout when I choose the flow direction from right to left, it does not change from right to left, it remains the same from left to right?
@cissemy
@cissemy 2 года назад
Great Is svg lighter than font awesome icon ?
@DanielHindrikes
@DanielHindrikes 2 года назад
I will say that you not choose on that, it depends on what icons you want to use. And that you now can use svgs with Maui is great, compared with Xamarin.Forms.
@erkkitr
@erkkitr 7 месяцев назад
Is it possible to start flyout as expanded, and collapse only compact, like a bar of only with icons?
@DanielHindrikes
@DanielHindrikes 7 месяцев назад
Set FlyoutBehavior to Locked. For compact mode you can just set Width so it will only show icons. If you want to expand it you can do it by changing the value by code. I am working on a video right now that will show this.
@DanielHindrikes
@DanielHindrikes 7 месяцев назад
@erkkitr the video is not ready yet. But I have published the code for gold members of my channel, ru-vid.com/show-UCYgCOJLbtiBCHzuoPNovtzQjoin
@user-bz2wy2zc4e
@user-bz2wy2zc4e 5 месяцев назад
Is there any way to place the tab title in center if there is no icon? without icon I looks odd as placed in bottom.
@DanielHindrikes
@DanielHindrikes 5 месяцев назад
I don't think so 🙁
@user-bz2wy2zc4e
@user-bz2wy2zc4e 5 месяцев назад
@@DanielHindrikes 🥲okayyy.. Thanks for the reply bro.
@user-yg9if4wg9j
@user-yg9if4wg9j Год назад
In .NET MAUI , how to change the FontFamily For TableView
@user-bz5tt4mr1f
@user-bz5tt4mr1f 4 месяца назад
can we change the position from the icon to the right corner?
@DanielHindrikes
@DanielHindrikes 4 месяца назад
I don't think so. If you mean the icon to open the Flyout.
@davidjackson148
@davidjackson148 Год назад
From all the examples I can find around MAUI Shell, there is not a single one that shows Flyout on any other page other than the first page. It seems like it's always assumed you want your app to start with the Flyout navigation and I don't. My app has a couple of pages to get through before you get the the Flyout page. How do I do that please. Can you do a video?
@DanielHindrikes
@DanielHindrikes Год назад
Great idea. I will see what I can do 🙂
@davidjackson148
@davidjackson148 Год назад
@@DanielHindrikes To give you an idea. I have a login page, then a summary page and from a selection there you get to the flyoutpage
@gabrielle_chan
@gabrielle_chan Год назад
@@davidjackson148 , have a look at this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-dWnGoZY3XiE.html&ab_channel=ProgrammingWithPragnesh
@GoogleDoesEvil
@GoogleDoesEvil Год назад
@@davidjackson148 You can programmatically disable the flyout in C# like this: Shell.SetFlyoutBehavior(Shell.Current, FlyoutBehavior.Disabled); Or in XAML like this: Shell.FlyoutBehavior="Disabled"
@davidjackson148
@davidjackson148 Год назад
@@GoogleDoesEvil I gave up on flyout and created my own control using contentpresenter and contentview, much more predictable but gives me the behavior I want and can control
@ax4178
@ax4178 Год назад
You look angry when you concentrate on code 😁
@andygrothe1083
@andygrothe1083 Год назад
is not working for templating the MenuItem. i get the error XFC0045: Binding: Property "Icon" not found on "Microsoft.Maui.Controls.MenuItem". i have the property 'IconImageSource' but this is not working
@gabrielle_chan
@gabrielle_chan Год назад
I had the same issue. Did you have something like this declared in AppShell.xaml: x:DataType="viewModels:AppShellViewModel" If so this is the cause of the problem - it's hiding the Icon property. Take it out and wherever you need to bind to AppShellViewModel set the BindingContext instead:
@gabrielle_chan
@gabrielle_chan Год назад
Forgot to mention - make sure you define the namespace of AppShellViewModel: xmlns:viewModels="clr-namespace:TestApp.ViewModels"
@mb72oz
@mb72oz Год назад
@@gabrielle_chan - most excellent tip, this solved an issue I was struggling with. Thanks!
Далее
.NET MAUI and Navigation
13:13
Просмотров 4,6 тыс.
вернуть Врискаса 📗 | WICSUR #shorts
00:54
.NET MAUI and Layouts
12:45
Просмотров 6 тыс.
.NET MAUI 03U - Shell Navigation: Flyout Menu
10:21
Просмотров 4,3 тыс.
.NET MAUI Controls: Mastering the Basics and Beyond
29:33
Animating Controls in .NET MAUI & Xamarin.Forms
19:19
Intro to Shell in .NET MAUI
12:00
Просмотров 7 тыс.
НЕ БЕРУ APPLE VISION PRO!
0:37
Просмотров 375 тыс.
iPhone 16 - 20+ КРУТЫХ ИЗМЕНЕНИЙ
5:20