Skip to content

PasswordRevealButton

Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll

The eye button next to a stored password shown masked (SDK 0.15.0): the Credentials page’s rows and the credential choice of plugin forms. An icon-only command button (Button.toolbar.iconOnly) with the eye while PasswordRevealButton.IsRevealed is false and the crossed-out eye while true, tooltip “Show password” / “Hide password” (PasswordBox.ShowTip, PasswordBox.HideTip). Bind Button.Command to the view model’s toggle and PasswordRevealButton.IsRevealed to whether the password shows; the view model loads and forgets the password.

public class PasswordRevealButton : Button

Inherits Button

Set them in XAML (<ui:PasswordRevealButton Name="..." />) or bind them.

Name Type Description
IsRevealed bool Whether the password shows.
PasswordRevealButton()

A hidden password’s eye button.