GroupBarItem tooltip

Hi,
Do you have any suggestions how to add a tooltip when mousing over a GroupBarItem? I currently have a GroupBar setup in "VisualStyle=Office2003" style and "StackedMode=true". I have tried a number of things with no success. Thanks in advance!

Syncfusion version: 6.102.0.34

Regards,
Mitch


1 Reply

FS Fathima Shalini P Syncfusion Team July 15, 2008 12:37 PM UTC

Hi Mitch,

Thank you for your interest in Syncfusion Products.

We can set the tooltips to GroupBarItem using GroupBar's MouseMove event. Please refer the below code snippets that illustrates this:


private void groupBar1_MouseMove(object sender, MouseEventArgs e)
{
if (this.groupBar1.HighlightItem != -1)
{
ToolTipInfo tooltip = new ToolTipInfo();
tooltip.Body.Text = this.groupBar1.GroupBarItems[this.groupBar1.HighlightItem].Text;
this.superToolTip1.Show(tooltip, MousePosition);
}
}


Please refer the below sample for more details:

http://websamples.syncfusion.com/samples/Tools.Windows/F75137/main.htm

Please let me know if any concerns.

Regards,
Fathima


Loader.
Up arrow icon