Логично, т.к. в MVVM вью-модель ничего не знает о вьюхе
https://www.reactiveui.net/docs/handbook/events/
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:Decerium.debug.ViewModels"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:interactivity="clr-namespace:Avalonia.Xaml.Interactivity;assembly=Avalonia.Xaml.Interactivity"
xmlns:core="clr-namespace:Avalonia.Xaml.Interactions.Core;assembly=Avalonia.Xaml.Interactions"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="Decerium.debug.Views.MainWindow"
Icon="/Assets/avalonia-logo.ico"
Background="#1D1D1D"
Title="Decerium.debug">
<Design.DataContext>
<vm:MainWindowViewModel/>
</Design.DataContext>
<Image Width="800"
Height="500"
Source="{Binding Cover}"
x:Name="ImageCanvas">
<interactivity:Interaction.Behaviors>
<core:EventTriggerBehavior EventName="Tapped">
<core:InvokeCommandAction Command="{x:Bind ViewModel.Refresh}" />
</core:EventTriggerBehavior>
</interactivity:Interaction.Behaviors>
</Image>