Click here to Skip to main content
15,912,069 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<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>



This is the code. Here button click event is not firing.. why? Plz help me..
Posted
Updated 30-Aug-12 22:39pm
v2
Comments
Legor 31-Aug-12 4:44am    
How do you know the event is not firing?
[no name] 31-Aug-12 7:26am    
Could be a lot of reasons but you have not provided enough information to say for sure.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900