Welcome to the UWP feedback portal. We’re happy you’re here! If you have feedback on how to improve the UWP, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

We are considering implementing pinch-to-zoom functionality for our UWP application on MS Surface tablets. The application primarily uses Syncfusion's SfDataGrid for its grids, and I'm currently having trouble implementing this feature for SfDataGrid. While zooming using a touchpad or keyboard shortcuts works with SfDataGrid and other controls. However pinch-to-zoom on the tablet does not affect the content of SfDataGrid. Note that the issue was observed on sfDataGrid versions 17.4.0.51 and latest stable version 27.1.53.

 

Following approaches were explored to implement this:

  • Encapsulating the grid within a ScrollViewer with ZoomMode as "Enabled".
  • Handling ManipulationDelta and ManipulationStarting events by setting ManipulationMode to "All".
  • Handling pointer events to detect pinch by using PointerPressed, PointerMoved and PointerReleased. By using this approach, header row of the grid could be pinched to an extent.

 

Is it possible to enable pinch-to-zoom functionality for SfDataGrid in a UWP application running on MS Surface tablet ?


- Rohit Ravi

[email protected]