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

BaseEditSettings.ErrorToolTipContentTemplate Property

Gets or sets a template that presents the content of an editor’s error tooltip. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public DataTemplate ErrorToolTipContentTemplate { get; set; }

#Property Value

Type Description
DataTemplate

A DataTemplate object that represents the data template.

#Property Paths

You can access this nested property as listed below:

Object Type Path to ErrorToolTipContentTemplate
BarEditItem
.EditSettings .ErrorToolTipContentTemplate
FilterField
.EditSettings .ErrorToolTipContentTemplate
ColumnBase
.ActualEditSettings .ErrorToolTipContentTemplate
ColumnBase
.EditSettings .ErrorToolTipContentTemplate
TreeViewControl
.EditSettings .ErrorToolTipContentTemplate
PropertyDefinition
.EditSettings .ErrorToolTipContentTemplate
SpreadsheetCustomCellEditEventArgs
.EditSettings .ErrorToolTipContentTemplate

#Remarks

If an editor’s value is invalid and the data validation mechanism is enabled, an error icon is displayed within the editor. When the mouse pointer hovers over this icon, a tooltip that describes the error is displayed. To change the error tooltop’s content presentation, create a data template and assign it to the ErrorToolTipContentTemplate property.

To learn more, see Input Validation.

See Also