wpf - How to validate a Password given by a PasswordBox-Binding -
i sit here , have big problem...i hope 1 me. binding of password passwordbox mentioned in this thread
i think variant, because password isn´t saved in variable , didnt have access after method of button password. want validate password interface idataerrorinfo. normaly looks this
public override string this[string propertyname] { { if (propertyname=="password" && password.length < 6) { return "password short."; } } }
is possible here password binding passwordbox directly?
thanks
nobody have idea me? or not possible?
another idea write own custom control bindable passwordbox. founded example here. how can standart style of passwordbox in generic.xaml?
Comments
Post a Comment