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

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

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

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

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

See Also