WPF - How to Enable disable button when a text box has text length is 6 in XAML only -


wpf - how enable disable button when text box has text length 6 in xaml only. enable button if textbox.length == 6 else disable button.

you can't in xaml only. closest create ivalueconverter can convert number 6 in value true. bind isenabled property of button textbox.text.length using converter.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -