PasswordBox
Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
The one password field used on every page and in every plugin dialog: a TextBox with the theme’s text box look (same height, padding and centering), masked with PasswordBox.Mask, and an eye button on the right that shows the password as plain text and hides it again (tooltip “Show password” / “Hide password”). Bind TextBox.Text as usual; key bindings and focus work like on any text box. TextBox.RevealPassword is the shown state.
public class PasswordBox : TextBoxInherits TextBox
Properties
Section titled “Properties”RevealButton
Section titled “RevealButton”Button RevealButton { get; }The eye button (exposed for tests).
Fields
Section titled “Fields”HideTip
Section titled “HideTip”const string HideTip = "Hide password"The tooltip of the eye button while the password shows.
const char Mask = '•'The mask character (bullet).
ShowTip
Section titled “ShowTip”const string ShowTip = "Show password"The tooltip of the eye button while the password is hidden.