Add a Behavior inside a cell with manipulation event

2 posts, 0 answers
  1. Valentin
    Valentin avatar
    2 posts
    Member since:
    Jan 2015

    Posted 04 Jan 2015 Link to this post

    I'm trying to add a behavior inside all cells of a column. 

        <DataTemplate DataType="itemGrid:ItemGrid">
          <Grid Panel.ZIndex="10" Background="Red" VerticalAlignment="Stretch"      HorizontalAlignment="Stretch">
              <TextBlock Text="{Binding ItemName}"/>

    And to catch manipulation events like that : 

    protected override void 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.
  2. Nick
    Nick avatar
    593 posts

    Posted 05 Jan 2015 Link to this post

    Hi Valentin,

    RadGridView has internal Touch handling which interferes with custom touch handling. Currently you can try doing this by disabling RadGridView internal Touch handling by setting TouchManager.IsTouchHitTestVisible to false for it. 


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top