Silverlight用户控件 [英] Silverlight User control

查看:60
本文介绍了Silverlight用户控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在实现Silverlight应用程序.在此,我使用了许多用户控件.

我正在设计一个用户控件,该用户控件的内容取决于该用户控件的高度,通过操纵用户控件的高度和宽度,我们必须重新设计该用户控件的内容,在这里我需要确定何时用户控件的大小已调整.

即,类似于用户控件的预定义高度和宽度属性的属性值更改事件.

如果以上解释不清楚,请发现粗体字就足够了.

谢谢与问候
VSRKRaju ...

Hi All,

I am implementing a Silverlight application. In this I am using many user controls.

I am designing an user control, content of this user control is depends upon the height width of that user control, by manipulating the height and width of the user control we have to redesign the content of that user control and here i need to identify when the user control resized.

i.e it is similar to property value changed event for predefined height and width properties of user control.

if the above explanation was not clear please find the bold one is enough.

Thanks and Regards
V.S.R.K.Raju...

推荐答案

您可以使用两个事件- SizeChanged
There are two events that you could use - SizeChanged or LayoutUpdated.


这篇关于Silverlight用户控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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