TextBox LostFocus.
XAML
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
<TextBox Margin="0,287,0,0">
<i:Interaction.Triggers>
<i:EventTrigger EventName="LostFocus">
<i:InvokeCommandAction Command="{Binding LostFocusCommand}" />
</i:EventTrigger>
</i:Interaction.Triggers>
</TextBox>
private ICommand lostFocusCommand;
public ICommand LostFocusCommand
{
get
{
if (lostFocusCommand== null)
{
lostFocusCommand= new RelayCommand(param => this.LostTextBoxFocus(), null);
}
return lostFocusCommand;
}
}
private void LostTextBoxFocus()
{
}
System.Windows.Interactiviy. .