c# - 如何在 Silverlight 中使控件可调整大小

标签 c# silverlight silverlight-4.0 wpf-controls

我希望用户在运行时调整 Silverlight 中几个组合控件和几个单个控件的大小。我该如何管理?有没有办法将控件放在矩形中并使矩形以某种方式可调整大小?我经常看到文本框和控件在右下角有一个调整区域,就像这个网站上的文本框一样。我怎样才能在 Silverlight 中制作这些?

最佳答案

Have a look at this

不幸的是,Silverlight 没有 Adorner 支持(还没有?)

关于c# - 如何在 Silverlight 中使控件可调整大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4814003/

相关文章:

c# - 使用 JSON.NET 实现自定义日期时间转换器

silverlight-4.0 - 使用 MEF/PRISM 时的 Silverlight OOB 更新

c# - Interface的类成员和基类

c# - 随机数不起作用

silverlight - "The invocation of the constructor on type that matches the specified binding constraints threw an exception."是什么意思?

silverlight - 在 Silverlight 中使用 ItemsSource 之前,项目集合必须为空

silverlight - 确定对象是否可见和可点击

c# - RejectChanges 特定实体

silverlight - SL4/MVVM : Handle MouseDragElementBehavior. VM 中带有 void Foo() 的拖动事件

c# - 检查空参数的最佳方法(保护子句)