I need to perform login. I'm binding Login to my ViewModel. I can't bind password from passwordBox so I pass it through EventToCommand parametrer
<i:Interaction.Triggers>
<i:EventTrigger EventName="Tap">
<cmd:EventToCommand Command="{Binding LogInCommand,
Mode=OneWay}"
CommandParameter="{Binding Password,
ElementName=PasswordBox,
Mode=OneWay}"
/>
</i:EventTrigger>
</i:Interaction.Triggers>
My problem - when loginbox has focus the login in ViewModel is null. How to force lost focus when the button is tap.