WPF Zoom with ScaleTransform overlap all Window
Posted
by Andrew
on Stack Overflow
See other posts from Stack Overflow
or by Andrew
Published on 2010-04-17T11:22:38Z
Indexed on
2010/04/17
11:23 UTC
Read the original article
Hit count: 855
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>
© Stack Overflow or respective owner