We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to add a SuperToolTip to the MonthCalendarAdv control?

Platform: WinForms |
Control: SuperToolTip

As the MonthCalendarAdv control contains a number of separate controls combined together, assigning the SuperToolTip for the outer control does not pass it to the child controls.


Refer to the following code examples.



//Adds a ToolTipinfo through code
Syncfusion.Windows.Forms.Tools.ToolTipInfo toolTipInfo = new Syncfusion.Windows.Forms.Tools.ToolTipInfo();
//Specifies the ToolTip text
toolTipInfo.Body.Text = this.monthCalendarAdv1.Value.ToString();
//Assigns the SuperToolTip to MonthCalendarAdv
foreach (Control ctrl in this.monthCalendarAdv1.Controls)
    this.superToolTip1.SetToolTip(ctrl, toolTipInfo);



'Adds a ToolTipinfo through code
Dim toolTipInfo As New Syncfusion.Windows.Forms.Tools.ToolTipInfo()
'Specifies the ToolTip text
toolTipInfo.Body.Text = Me.monthCalendarAdv1.Value.ToString()
'Assigns the SuperToolTip to MonthCalendarAdv
For Each ctrl As Control In Me.monthCalendarAdv1.Controls
 Me.superToolTip1.SetToolTip(ctrl, toolTipInfo)
Next ctrl


MonthCalendar specified with SuperToolTip

Figure 1:MonthCalendar specified with SuperToolTip

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile