<Button Content="Play" Width="80" Height="30" Canvas.Left="2" Canvas.Top="210" Grid.Row="1" Grid.Column="0"> <i:Interaction.Triggers> <i:EventTrigger EventName="Click"> <i:InvokeCommandAction Command="{Binding PlayVideoCommand}" CommandParameter="{Binding ElementName=mediaElement}"/> </i:EventTrigger> </i:Interaction.Triggers> </Button>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)