Declined
Last Updated: 18 Jan 2016 14:02 by ADMIN
ADMIN
Milena
Created on: 07 Jul 2015 08:24
Category: UI for WPF
Type: Bug Report
9
A selection cannot be made with touch gestures in RadListBox, RadGridView, RadTreeView etc. if they are hosted in ScrollViewer
A selection in RadListBox, RadColorPaletteVIew, RadTreeView. RadGridView etc. cannot be made with touch gestures when the control is inside a ScrollViewer.


Reason for declination:
This is not a bug in the touch logic of the controls. The selection does not work because the manipulations of the ScrollViewer are enabled and the scroller captures the touch and marks the touch events as handled, leaving the ScrollViewer the only element to receive touch events. There are at least two possible solutions for this.

1.If you have access to the ScrollViewer, you can set attached TouchManager.ScrollViewerSwipeMode for the ScrollViewer to Self.

<ScrollViewer telerik:TouchManager.ScrollViewerSwipeMode="Self" />

2. If you do not have access to the ScrollViewer, you can use a combination of two attached properties, for the elements inside the scroller. The two properties are two of the attached TouchManager properties - TouchMode and ScrollViewerSwipeMode.

<ScrollViewer>

   ...

      <telerik:RadCartesianChart telerik:TouchManager.TouchMode="Locked" telerik:TouchManager.ScrollViewerSwipeMode="Parent" />

0 comments