Skip to main content

PasswordEdit.PasswordIconColor Property

Gets or sets the color of the show password and hide password icons. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public Color PasswordIconColor { get; set; }

Property Value

Type Description
Color

The icon color.

Remarks

The show password icon appears on the right side of PasswordEdit when the password is hidden. When a user taps the icon, the editor reveals the password and changes the icon to the hide password icon.

DevExpress MAUI PasswordEdit - Show and Hide Icons

The editor gets colors for the show/hide password icons from the applied theme. Use the PasswordIconColor property to apply a custom color to these icons. If you need the editor to display these icons in their original colors, set the PasswordIconColor property to {x:Static dxci:DXColor.Default}:

<ContentPage ... 
             xmlns:dxci="clr-namespace:DevExpress.Utils;assembly=DevExpress.Maui.Core">
    <dxe:PasswordEdit ...
                      PasswordIconColor="{x:Static dxci:DXColor.Default}"/>
</ContentPage>

To specify the same color for all icons of the editor, use the IconColor and DisabledIconColor properties.

See Also