ToolTipProperties.Text in MenuFlyoutItem is not working

Dani_S 4,896 Reputation points
2024-09-10T11:19:28.8433333+00:00

Hi,

I'm in maui windows NET 8, ToolTipProperties.Text is not working. why ?

<DataTemplate>

 <Label Text="{Binding Name}" VerticalTextAlignment="Center"

ToolTipProperties.Text="{Binding}"  >

     <FlyoutBase.ContextFlyout>

         <MenuFlyout>

             <MenuFlyoutItem Text="Format USB in format NTFS" ToolTipProperties.Text="Please select USB and press format USB in format NTFS."

               

         </MenuFlyout>

     </FlyoutBase.ContextFlyout>

 </Label>

</DataTemplate>

Developer technologies | .NET | .NET MAUI
{count} votes

Answer accepted by question author
  1. Anonymous
    2024-09-13T07:25:59.3233333+00:00

    Hello,

    Is it a bug?

    No, it is by design. Only these Views could be set ToolTipProperties.

    Obviously, MenuFlyoutItem is not in this Views list

    tooltip is a small rectangular popup that displays a brief description of a view's purpose, when the user rests the pointer on the view

    From:Display tooltips - .NET MAUI | Microsoft Learn

    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 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

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