Closed deepaksm1 closed 9 years ago
Try this:
<DataTemplate>
<TextBlock MouseLeftButtonDown="{EventBinding Command={Binding Path=DataContext.PrevMouseDownCmd, RelativeSource={RelativeSource ItemsControlParent}}, CommandParameter={Binding}}}" Text="{Binding Text}" />
</DateTemplate>
Make sure to write the command in your ViewModel:
PrevMouseDownCmd = new Fayde.MVVM.RelayCommand((e: Fayde.IEventBindingArgs
Ok Thanks, I will try this...
How to use interactivity and interactions in fayde? What namespaces need to include in XAML?