I need to show tooltips on the elements of a RadForm TitleBar, like in the attached image.
things I've tried that didn't work:
this
.FormElement.TitleBar.SystemButtons.Children[0].ToolTipText =
"this is a tooltip"
;
- using the ToolTipTextNeeded form event
class
TestTooltipForm : RadForm
{
public
TestTooltipForm()
{
InitializeComponent();
this
.ToolTipTextNeeded += (sender, args) =>
{
args.ToolTipText =
"a tooltip"
;
};
}
}
The only thing that seems to be working is instantiating a RadToolTip and showing it inside del ToolTipTextNeeded (ignoring the args parameter)
The problem with this method is that the tooltip stays visible forever, so I need to hide it on some event like 'form_mouseHover' which is kind of convoluted.
Is there a better way?