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: