Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Add ToolTip and ToolTipPlacement properties #1889

Closed
mhrastegari opened this issue Aug 1, 2021 · 1 comment
Closed

[Enhancement] Add ToolTip and ToolTipPlacement properties #1889

mhrastegari opened this issue Aug 1, 2021 · 1 comment
Labels
area-controls-general General issues that span multiple controls, or common base classes such as View or Element t/enhancement ☀️ New feature or request
Milestone

Comments

@mhrastegari
Copy link

Summary

The idea is from #11306

In Xamarin.Forms it is not yet possible to display ToolTips. These are small labels with information for the user, which are displayed when the user presses a view for a short time.

+and just like radio button the macOS, UWP, Android does natively supporting it but iOS doesn't :)

API Changes

  • Add a property named ToolTip of type string and add it to VisualElement class.
  • Add a property named ToolTipPlacement of type ToolTipPlacement and add it to VisualElement class.
  • Add an enum named ToolTipPlacement:
  public enum ToolTipPlacement
    {
        Below = 0,
        Above = 1,
        Left = 2,
        Right = 3,
        TopLeft = 4,
        TopRight = 5,
        BottomLeft = 6,
        BottomRight = 7
    }
  • Add platform specific implementations.

Examples


<BoxView ToolTip="More options"
         ToolTipPlacement="Below"></BoxView>

or


<ImageButton Source="Mail.png"
             BackgroundColor="Pink"
             ToolTip="Send an email"
             ToolTipPlacement="Above"></ImageButton>

image

@Eilon Eilon added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Oct 18, 2021
@jsuarezruiz jsuarezruiz added the t/enhancement ☀️ New feature or request label Oct 25, 2021
@Eilon Eilon added the area-controls-general General issues that span multiple controls, or common base classes such as View or Element label Feb 11, 2022
@jfversluis jfversluis added this to the Backlog milestone Aug 24, 2022
@ghost
Copy link

ghost commented Aug 24, 2022

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2024
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-general General issues that span multiple controls, or common base classes such as View or Element t/enhancement ☀️ New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants