resize / drag usercontrol at runtime
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/
精彩评论