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

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -