Skip to main content

How to: Customize the Appearance of the Editor's Error Tooltip

The following example shows how to customize the visual representation of an editor’s error tooltip.

<dxe:DateEdit MaxValue="12/13/2010" MinValue="01/15/2008">
    <dxe:DateEdit.ErrorToolTipContentTemplate>
        <DataTemplate>
            <TextBlock Text="Value is out of borders" Foreground="Red" FontSize="18"/>
        </DataTemplate>
    </dxe:DateEdit.ErrorToolTipContentTemplate>
</dxe:DateEdit>