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
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