0

I have this passwordbox :

<PasswordBox x:Name="textBox1">
   <PasswordBox.InputBindings>
        <KeyBinding Key="Return" Command="{Binding MyCommand}"/>
   </PasswordBox.InputBindings>
</PasswordBox>

I want to bind my command with all keys, and not just enter.

Is it possible?

Thanks.

Divyang Desai
  • 7,483
  • 13
  • 50
  • 76

0 Answers0