开发者

resize / drag usercontrol at runtime

开发者 https://www.devze.com 2023-04-07 09:06 出处:网络
How can I resize / drag a userco开发者_开发技巧ntrol in silverlight 4 at runtime through a resizehandle in the bottomright corner for example? As a beginner I have no idea how I can do this.I\'ve foun

How can I resize / drag a userco开发者_开发技巧ntrol in silverlight 4 at runtime through a resizehandle in the bottomright corner for example? As a beginner I have no idea how I can do this.


I've found exactly what I was looking for. I was using a childwindow but it blocked interaction with parent so I thought I had to create a usercontrol and built in resize function and drag function and stuff.

This guy took the childwindow and refactored it for non-modal use:

  • http://timheuer.com/blog/archive/2009/05/10/silverlight-childwindow-non-modal-refactor.aspx
  • latest build here: http://floatablewindow.codeplex.com/
0

精彩评论

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

关注公众号