Back to Devexpress

TextEditSettings.ShowTooltipForTrimmedText Property

wpf-devexpress-dot-xpf-dot-editors-dot-settings-dot-texteditsettings-9139520c.md

latest2.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool ShowTooltipForTrimmedText { get; set; }
vb
Public Property ShowTooltipForTrimmedText As Boolean

Property Value

TypeDescription
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

TrimmedTextToolTipContentTemplate

TextWrapping

TextEditSettings Class

TextEditSettings Members

DevExpress.Xpf.Editors.Settings Namespace