I'm trying to add a behavior inside all cells of a column.
And to catch manipulation events like that :
I thind that the GridView handle events an nothing past inside my behavior. Can i find another solution to work around this problem.
<telerik:GridViewDataColumn.CellTemplate> <DataTemplate DataType="itemGrid:ItemGrid"> <Grid Panel.ZIndex="10" Background="Red" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"> <TextBlock Text="{Binding ItemName}"/> <i:Interaction.Behaviors> <behaviors:InertiaDeleteCptBehavior/> </i:Interaction.Behaviors> </Grid> </DataTemplate></telerik:GridViewDataColumn.CellTemplate>And to catch manipulation events like that :
protected override void OnAttached() { base.OnAttached(); AssociatedObject.ManipulationDelta += Item_ManipulationDelta; AssociatedObject.ManipulationInertiaStarting += Item_ManipulationInertiaStarting; AssociatedObject.ManipulationCompleted += Item_ManipulationCompleted; }I thind that the GridView handle events an nothing past inside my behavior. Can i find another solution to work around this problem.