Files
HandyControl/src/Shared/HandyControlDemo_Shared/UserControl/Controls/MagnifierDemoCtl.xaml
T
2019-07-11 01:10:17 +08:00

16 lines
738 B
XML

<UserControl x:Class="HandyControlDemo.UserControl.MagnifierDemoCtl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Background="{DynamicResource RegionBrush}"
xmlns:hc="https://handyorg.github.io/handycontrol">
<hc:TransitioningContentControl>
<hc:SimplePanel>
<Image Name="ImageDemo" Source="/HandyControlDemo;component/Resources/Img/1.jpg" Stretch="None">
<hc:Magnifier.Instance>
<hc:Magnifier Scale="5"/>
</hc:Magnifier.Instance>
</Image>
</hc:SimplePanel>
</hc:TransitioningContentControl>
</UserControl>