maui-devexpress-dot-maui-dot-editors-dot-passwordedit-b39caee1.md
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
public ImageSource HidePasswordIcon { get; set; }
| Type | Description |
|---|---|
| ImageSource |
The icon image.
|
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.
To set a custom image for the hide password icon, follow the steps below:
Add the icon file (for example, icon.svg) to the Resources/Images folder. Make sure that its build action is set to MauiImage.
Assign the icon to the HidePasswordIcon property:
You can also use the ShowPasswordIcon property to set the custom image for the show password icon.
See Also