ScreenTipNeeded(sender As Object, e As ScreenTipNeededEventArgs)
I have a quick question. How can I get the name of the control that needs a screentip with the sender object or screentipneededeventargs?
I cannot seem to find the name of the control that needs the screentip.
For anyone else that may needs to know the control that raised the ScreenTipNeeded event, see the following snipped:
Private Sub Control_ScreenTipNeeded(sender As Object, e As ScreenTipNeededEventArgs)
Dim objComponentInputBehaviour As Telerik.WinControls.ComponentInputBehavior = sender
Dim objControl As RadControl = objComponentInputBehaviour.SelectedElement.ElementTree.Control
I am glad that you have found a suitable solution for your case. More information about Screen Tip is available here: https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/tooltips-and-screentips/screen-tips
Do not hesitate to contact us if you have other questions.