Back to Devexpress

SuperToolTip.MaxWidth Property

windowsforms-devexpress-dot-utils-dot-supertooltip-b9ea8cdd.md

latest1.7 KB
Original Source

SuperToolTip.MaxWidth Property

Specifies the tooltip maximum width in pixels.

Namespace : DevExpress.Utils

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
public override int MaxWidth { get; set; }
vb
Public Overrides Property MaxWidth As Integer

Property Value

TypeDescription
Int32

An integer value that specifies the tooltip’s maximum width.

|

Remarks

If the FixedTooltipWidth property is set to false , the tooltip width is automatically calculated based on the content. The MaxWidth property allows you to limit the maximum width. If the maximum width does not allow the text to be displayed entirely in a single line, the text wraps at the right edge.

The MaxWidth property is not in effect if the SuperToolTip.FixedTooltipWidth property is set to true.

See Also

FixedTooltipWidth

Padding

SuperToolTip Class

SuperToolTip Members

DevExpress.Utils Namespace