WPF NavigationWindow 上是否可以显示动画?
我有一个导航窗口,其中托管一系列页面。 出于设计原因,页面固定为 780x580,但导航窗口可以设置为最大化,从而在页面周围留下大量黑色背景。
我想展示一个相当简单、不引人注目的动画(只是一些不同不透明度/大小的标签从一侧流到另一侧)在所有页面后面连续运行......逻辑位置将是导航窗口,所以当用户从一个页面导航到另一个页面时不会出现中断。
当我在设计器中有 NavigationPage 时,Blend 和 Visual Studio 都不能让我访问控件,所以我的猜测是我不能那样做。
有人对如何做到这一点有建议,或者有一个解决方法可以让我得到相同的结果吗?
I have a NavigationWindow which hosts a series of Pages. For design reasons the Pages are fixed at 780x580 but the NavigationWindow can be set to maximize, leaving a lot of black background around my Pages.
I would like to show a fairly simple, unobtrusive animation (just some labels of various opacity/size streaming from side to side) continuously running behind all the Pages... the logical place would be the NavigationWindow so that there would be no interruption when the user navigates from page to page.
Neither Blend not Visual Studio give me access to controls when I have the NavigationPage in the designer, so my guess is that I cannot do it that way.
Anyone have a suggestion on how to do this, or a workaround that nets me the same result?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
昨晚我在闲逛,如果我有什么想法,我会告诉你的。 您是否看过MSDN NavigationWindow ControlTemplate 示例
I was poking around at this alittle last night, I'll let you know if I come up with anything. Have you looked at the MSDN NavigationWindow ControlTemplate Example