question

67080341 avatar image
0 Votes"
67080341 asked LeonLu-MSFT commented

what is the difference between FlyoutIcon and Icon

what is the difference between FlyoutItem.FlyoutIcon and FlyoutItem.Icon

dotnet-maui
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LeonLu-MSFT avatar image
0 Votes"
LeonLu-MSFT answered LeonLu-MSFT commented

Hello,


what is the difference between FlyoutItem.FlyoutIcon and FlyoutItem.Icon

Here are some differences.

  1. FlyoutIcon is used for the item when displayed in and Icon is primarily used outside of the Shell's Flyout.

  2. If FlyoutIcon is unset, it will fallback to using the Icon property value.


    FlyoutIcon The icon to use for the item. If this property is unset, it will fallback to using the Icon property value. (Inherited from BaseShellItem)
    Icon Defines the icon to display in parts of the chrome that are not the flyout. (Inherited from BaseShellItem)

Best Regards,

Leon Lu



If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@67080341 I updated my answer, please check it.

0 Votes 0 ·