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 |
First add HandyControl NameSpace
xmlns:hc="https://handyorg.github.io/handycontrol"
Now
<PasswordBox hc:PasswordBoxMonitor.PasswordLength="10" hc:PasswordBoxMonitor.IsMonitoring="True"/>
PasswordBoxMonitor.SetPasswordLength(control, 10);
PasswordBoxMonitor.IsMonitoring(control, True);
PasswordBoxMonitor.GetPasswordLength(control);