开发者

WPF UI detach(pin out) functionality

Am looking to implement a detach and popup UI behaviour in my applcation. It basically means that I will be displaying say, a stackpanel with lot elements on the right side of my page. And on a button click, I want the stackpanel part to popup(removing its allocated space in the UI) and should be able to move it above the underlying wp开发者_如何学JAVAf UI.

What am trying to do is that remove the stackpanel from its parent grid on button click and add it as the child of wpf popup control. But I am facing some issues doing this way. However I just want to know whether I am doing it in the correct way or do anyone have a good alternative for implementing this pin out functionality am specified here?

Thanks, Vinsdeon


How about using this kinda nice control, AvalonDock, which is simulating Visual Studio's dockable components behaviors?

http://avalondock.codeplex.com/

It will spare you the pain of developing such a specific functionality, and will have a great reusability anyway

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜