Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TextEditSettings.ShowTooltipForTrimmedText Property

Gets or sets whether to invoke a tooltip for the editor whose content is trimmed. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public bool ShowTooltipForTrimmedText { get; set; }

#Property Value

Type Description
Boolean

true if a tooltip should be displayed; otherwise, false.

#Remarks

When the text edit is assigned to a grid cell, editor content is cut when it overflows the content area. Refer to the Assign Editors to Cells topic for information on how to incorporate editors into a grid.

Set the editor’s TextEditSettings.TextWrapping property to NoWrap to make the editor perform text trimming. Use the BaseEdit.TrimmedTextToolTipContentTemplate property to specify the trimmed text appearance in the tooltip.

The GridControl displays cell tooltips for trimmed text even if you define a custom cell tooltip. To hide tooltips for the trimmed text, set the TextEditSettings.ShowTooltipForTrimmedText property to false.

See Also