PasswordBoxMonitor Attach - AdarshRise/HandyControl GitHub Wiki

An attached property is intended to be used as a type of global property that is settable on any object.

PasswordBoxMonitor Contains

Property Description
PasswordLength Gets or sets Length of Characters
IsMonitoring Gets or sets IsMonitoring

Usage in Xaml

First add HandyControl NameSpace

xmlns:hc="https://handyorg.github.io/handycontrol"

Now

<PasswordBox hc:PasswordBoxMonitor.PasswordLength="10" hc:PasswordBoxMonitor.IsMonitoring="True"/>

Usage in Code-Behind

PasswordBoxMonitor.SetPasswordLength(control, 10);
PasswordBoxMonitor.IsMonitoring(control, True);

PasswordBoxMonitor.GetPasswordLength(control);
⚠️ **GitHub.com Fallback** ⚠️