While editing code in Visual Studio, it will sometimes underline something I wrote, and when I hover over it, display a tooltip saying something like blah blah is obselete, please use this instead. See [some MSDN link]
. However, when I try to move the mouse over the tooltip so I can click on the link or copy it to the clipboard, the tooltip disappears, since it's set to only appear when I hover over offending the code, not over the tooltip.
Does anyone know a way to get at the tooltip contents? And if not... I'm not a UI designer but shouldn't it be obvious to anyone designing such a feature that people need a way to get to the link other than typing it into the browser??
Type the first few words of the tooltip text into the search box... now the search string should appear highlighted in the "Elements" panel. Click on the element that contains the tooltip text. Right-click on the selected element. From the content menu, select "Copy" -> "Copy element"
Set a ToolTip in the designer In Visual Studio, add a ToolTip component to the form. Select the control that will display the ToolTip, or add it to the form. In the Properties window, set the ToolTip on ToolTip1 value to an appropriate string of text.
Definition: A tooltip is a brief, informative message that appears when a user interacts with an element in a graphical user interface (GUI). Tooltips are usually initiated in one of two ways: through a mouse-hover gesture or through a keyboard-hover gesture.
Try go to definition of method, open as metadata view and you'll see the obselete attribute above the method with the text description
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With