Articles in this section
Category / Section

How to set the width for the SuperToolTip?

1 min read

To set the width for the SuperToolTip control, use MaxWidth property. By using MaxWidth property, you can change the ToolTip size dynamically.

MaxWidth is used to provide maximum width for the tooltip to be displayed. When the text of the tooltip exceeds the maxwidth, the text wraps to the next line.

 

Refer to the following code examples.

 

C#

//Specifies the maximum width of the SuperToolTip
this.superToolTip1.MaxWidth = 100;

 

VB

'Specifies the maximum width of the SuperToolTip
Me.superToolTip1.MaxWidth = 100

 

Figure 1:SuperToolTip specified with MaxWidth is 100 and ToolTip text is wrapped to next line.

 

Sample Links:

C#: SuperToolTip_Width_C#

VB: SuperToolTip_Width_VB

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied