I have textbox with Text property binded to viewmodel. I have binded TextChanged event to viewmodel.
But the problem is that the event fires every sign is added to textbox(that's good) and Text in viewmodel is refreshed when textbox lost focus(that's bad for me).
How to make this Text property refreshing after each sign?
Or how to send sender as parameter? I think sender would have resfreshed data.
My interactivity xaml:
<interactivity:Interaction.Triggers>
<interactivity:EventTrigger EventName="TextChanged">
<helpers:CustomCommandInvoker Command="{Binding UnlockChangedCommand}" />
</interactivity:EventTrigger>
</interactivity:Interaction.Triggers>
I'm using RelayCommand.