silverlight:如何创建一个双重动画,使其"To"成为"To"属性依赖于父网格宽度属性? [英] silverlight : how to create a double animation that its "To" property relies on parent grid width property?

查看:64
本文介绍了silverlight:如何创建一个双重动画,使其"To"成为"To"属性依赖于父网格宽度属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.

im尝试创建从左上角到右下角展开的矩形动画. WPF浏览器应用程序编程没有问题,但是我无法在Silverlight中做到这一点.我试图将数据绑定到网格的实际宽度 属性,但我不断收到错误消息.

im trying to create animation of a rectangle being epanded from the top left corner to the bottom right . this was no problem with WPF browser application programing, but i cant do it in silverlight. i tried to do the data bind to the grid's actual width property but i keep getting errors.

有人可以给我提供一个简单的代码段吗?

can someone please provide me a simple code snippet?

 

谢谢

noam

推荐答案

嘿Noam,

Silverlight对此的处理方式有所不同...请参阅以下文章:

Silverlight handles this differently...see the following article:

http://www .mostlydevelopers.com/mostlydevelopers/blog/post/2008/10/17/Get-ActualWidth-and-ActualHeight-in-Silverlight.aspx

 

此外,您在错误的论坛上...尝试在Silverlight论坛中回答这些问题,您会得到更快的答复.

Also, you're on the wrong forum...try the Silverlight forum for these questions, you'll get much faster responses.

 

祝你好运

Aj


这篇关于silverlight:如何创建一个双重动画,使其"To"成为"To"属性依赖于父网格宽度属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆