what is the difference between FlyoutIcon and Icon

景 胡 1 Reputation point
2022-05-18T15:01:24.557+00:00

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

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,578 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,386 Reputation points Microsoft Vendor
    2022-05-19T05:58:09.003+00:00

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.