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

EditBase.ErrorIconColor Property

Gets or sets the color of an icon displayed when HasError is set to true. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

#Declaration

C#
public Color ErrorIconColor { get; set; }

#Property Value

Type Description
Color

The icon color.

#Remarks

The editor gets a color for the error icon from the applied theme. Use the ErrorIconColor property to apply a custom color to the error icon. If this property is not specified, the error icon is colored according to the ErrorColor property.

If you need the editor to display the error icon in its original color, set the ErrorIconColor property to {x:Null}:

<ContentPage ... 
             xmlns:dx="clr-namespace:DevExpress.Maui.Core;assembly=DevExpress.Maui.Core">
    <dx:DXButton ...
                 ErrorIconColor="{x:Null}"/>
</ContentPage>
See Also