XAML: make a ScrollViewer show scrollbars when the ScaleTransform of a child object gets big
- 阅读更多 关于 XAML: make a ScrollViewer show scrollbars when the ScaleTransform of a child object gets big
问题 I am making a sort of "print preview" control for some documents in my Silverlight 3 application. I have a Canvas (for showing the document) inside of a ScrollViewer, and I have zoom in / zoom out buttons that control the X and Y Scale properties of the ScaleTransform for the Canvas.RenderTransform property. I want the scrollbars of the ScrollViewer to show up when I "zoom in" enough such that the canvas is no longer visible in the ScrollViewer area, but it seems that they only show up