DesignerControl.xaml
上传用户:lvyingde
上传日期:2018-04-24
资源大小:610k
文件大小:1k
- <UserControl x:Class="wxwinter.WFDesignerSl.DesignerControl"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Background="Red" Height="600" Width="800"
-
- >
- <ScrollViewer ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.HorizontalScrollBarVisibility="Visible" >
- <Canvas Name="myDesigner" Height="600" Width="800" Background="White" MouseLeftButtonUp="Canvas_MouseLeftButtonUp" >
- <Canvas.RenderTransform>
- <TransformGroup>
- <ScaleTransform x:Name="scaleTransform" ScaleX="1" ScaleY="1"/>
- </TransformGroup>
- </Canvas.RenderTransform>
- </Canvas>
- </ScrollViewer>
- </UserControl>