Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Check if password box was changed

$
0
0

Im using passwordBox and I want to check if user has type there anything,if yes change button status to enable. how can I check if user type anything in password. It behave differently from text box since you cant bind it to text and when user type anything raise some event.any idea?

I have tried with the following but I got error:

<PasswordBox  Grid.Column="5"
BorderBrush="#FFB0B1AB" ><i:Interaction.Triggers><EventTrigger EventName="KeyDown"><si:InvokeDataCommand Command="{Binding MyCommand}" /></EventTrigger></i:Interaction.Triggers>  </PasswordBox>




Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>