WPF Zoom with ScaleTransform overlap all Window
- by Andrew
Hi, i want to create Pan & Zoom control Similar thread, so i transform control with ScaleTransform and it overlaps all window, i have ot do it with RenderTransform, becouse with LayoutTransform Pan implemented in example doesn't work. Are there any properties or templates with which i can implement behavior like this: if content of container undergo transformation (or just move), if content doesn't fit, container shows only fitted part, something like this:
<Container Height="100" Width="100" DisplayOption="CutAllThatNotFit">
<Content/>
</Container>