Back to Devexpress

PasswordEdit.PasswordIconColor Property

maui-devexpress-dot-maui-dot-editors-dot-passwordedit-8825819f.md

latest1.9 KB
Original Source

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

csharp
public Color PasswordIconColor { get; set; }

Property Value

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

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:Null}:

xaml
<dxe:PasswordEdit ...
                  PasswordIconColor="{x:Null}"/>

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

See Also

PasswordEdit Class

PasswordEdit Members

DevExpress.Maui.Editors Namespace