首页 > TAG信息列表 > ScaleRate

【WPF】图片等可视化元素缩放变换及中心点设置

xaml: <StackPanel> <Canvas MouseWheel="Canvas_MouseWheel"> <Canvas.RenderTransform><ScaleTransform x:Name="st"/> </Canvas.RenderTransform> <TextBlock>Some text</TextBlock></C