开发者

Zoom control to SilverLight Form

开发者 https://www.devze.com 2023-04-06 02:02 出处:网络
I still have not found the answer: How can I implement a zoom control to mySilverLight Form? I hope you will help me with this question)I am looking to zoom the controls inside the zoom control, no开发

I still have not found the answer: How can I implement a zoom control to my SilverLight Form? I hope you will help me with this question) I am looking to zoom the controls inside the zoom control, no开发者_StackOverflow中文版t zoom on an image.


This is a WPF control that zooms the child controls. Should be fairly easy to convert to Silverlight.

Here is a silverlight control that does the same thing:


Like this:

http://www.codeproject.com/KB/silverlight/ZoomAndPan.aspx


With ScaleTransform in RenderTransform

<Grid.RenderTransform>
    <TransformGroup>
        <ScaleTransform ScaleX="1"/>
    </TransformGroup>
</Grid.RenderTransform>

http://ganshani.com/2009/08/14/zoom-in-and-out-in-silverlight/

Edit: the other link doesn't work. Here is the internet archive version.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号