0

Im developing an app that draws Grid of images using win2d CanvasVirtualControl. I want to scroll the draw content so that the previously drawn tiles will be scrolled to somepostion and a new tiles of images will be painted. Currenty achieved it by usig PointerWheelChanged, But Getting jerky scroll not a smooth one.

ProgrammingLlama
  • 36,677
  • 7
  • 67
  • 86
  • Please follow the tagging gudielines and don't put tags in your question title. If you're new here, I suggest taking the [tour] and reading [ask], along with the associated help topics. The site's requirements and guidelines are stricter than most others, so it would benefit you to understand them. – ProgrammingLlama Jun 18 '21 at 10:08
  • If you want to perform a scrolling task within the Win2D control, you could use ScrollViewer control and put Win2d control in it, after that you need to make sure that the Height property of the win2d control is greater than the height of the ScrollViewer, so that the scroll bar will be displayed. – dear_vv Jun 21 '21 at 08:15
  • It will not workout our app is huge data handling and painting app.. currently we are painting datas on demans depending on current viewport. i tried with poiterwheelchanged wheeldata which is also inconsistent – Rathiga M M Jun 28 '21 at 07:16
  • Could you please check the value of [ManipulationMode](https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.uielement.manipulationmode?view=winrt-20348#Windows_UI_Xaml_UIElement_ManipulationMode) of CanvasVirtualControl? – dear_vv Jun 30 '21 at 07:28

0 Answers0