Closed AndrueCope closed 6 years ago
It works but there's a problem when I zoom in the image expands outside of its original area and fills the entire window. Xaml also attached.
Images attached. Note how the image 'underlaps' the buttons when zoomed in :-/
PictureViewer.txt
Set ClipToBounds="True" on control or parent.
ClipToBounds="True"
https://github.com/wieslawsoltes/PanAndZoom/blob/c93ea85be8ec5042d0f045fad241e9bac363a921/samples/WpfDemo/MainWindow.xaml#L52
Thank you!
It works but there's a problem when I zoom in the image expands outside of its original area and fills the entire window. Xaml also attached.
Images attached. Note how the image 'underlaps' the buttons when zoomed in :-/
PictureViewer.txt