Skip to main content

PasswordEdit.HidePasswordIcon Property

Gets or sets the custom hide password icon image. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public ImageSource HidePasswordIcon { get; set; }

Property Value

Type Description
ImageSource

The icon image.

Remarks

The hide password icon appears on the right side of PasswordEdit when the password is shown. When a user taps the icon, the editor hides the password and changes the icon to the show password icon (ShowPasswordIcon). Use the PasswordIconVisibility property to change the visibility of the hide password icon.

DevExpress MAUI PasswordEdit - Show Hide Icons

To set a custom image for the hide password icon, follow the steps below:

  1. Add the icon file (for example, icon.svg) to the Resources/Images folder. Make sure that its build action is set to MauiImage.

  2. Assign the icon to the HidePasswordIcon property:

    <dxe:PasswordEdit HidePasswordIcon="icon"/>
    

You can also use the ShowPasswordIcon property to set the custom image for the show password icon.

See Also