Moving Image in ScrollViewer (UWP)
问题 I've got a Image in Scrollviewer ... <ScrollViewer x:Name="Scrollster" ZoomMode="Enabled" MinZoomFactor="1" MaxZoomFactor="4" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" ManipulationMode="All"> <Image x:Name="Img" Source="{x:Bind ImgSource}" Stretch="UniformToFill" PointerPressed="Img_PointerPressed"/> </ScrollViewer> I want to move Image when I drag image with Mouse Pointer! I tried: private void Img_PointerPressed(object sender,PointerRoutedEventArgs e) { var p =