Hi,
I currently develop an application on Windows 10 on a tactile device uses a RadPageView (explorerBar mode).
I want to use gesture to control the scroll, i set the enableGesture to Pan.
And in PanGesture event, i have the code :
If
CType
(
CType
(sender, RadPageView).GetChildAt(0).GetChildAt(3), Telerik.WinControls.UI.RadScrollBarElement).Visibility = ElementVisibility.Visible
Then
If
CType
(
CType
(sender, RadPageView).GetChildAt(0).GetChildAt(3), Telerik.WinControls.UI.RadScrollBarElement).Value + e.Offset.Height >=
CType
(sender, RadPageView).VerticalScroll.Minimum
And
_
CType
(
CType
(sender, RadPageView).GetChildAt(0).GetChildAt(3), Telerik.WinControls.UI.RadScrollBarElement).Value + e.Offset.Height <=
CType
(sender, RadPageView).VerticalScroll.Maximum
Then
CType
(sender, RadPageView).VerticalScroll.Value =
CType
(
CType
(sender, RadPageView).GetChildAt(0).GetChildAt(3), Telerik.WinControls.UI.RadScrollBarElement).Value + e.Offset.Height
End
If
CType
(
CType
(sender, RadPageView).GetChildAt(0).GetChildAt(3), Telerik.WinControls.UI.RadScrollBarElement).Value += e.Offset.Height
End
If
Only the scroll bar moves, not the control
Thanks for your help :)
NB : I'm using Q1-2015