Skip to main content

SuperToolTip.MaxWidth Property

Specifies the tooltip maximum width in pixels.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

public override int MaxWidth { get; set; }

Property Value

Type Description
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