Is it possible to set a CanExecute on an InteractionTrigger?
This is my code, but I know in some instances the ButtonCommand will be NULL, So I want to be sure that I do not cause any issues.
<i:Interaction.Triggers>
<i:KeyTrigger Key="Return">
<i:InvokeCommandAction Command="{TemplateBinding ButtonCommand}" />
</i:KeyTrigger>
</i:Interaction.Triggers>
Many thanks
IsEnabledproperty ofInvokeCommandActionfor that?