WPF背景图像“某事物” [英] WPF Background Image of "something"

查看:107
本文介绍了WPF背景图像“某事物”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿编码社区,

我需要一些帮助,建议,指针等等。



我想添加一个盒子在表格上可以是任何形式的东西。那个盒子应该容纳4-6个资源图像(1.png,2.png,3.png等)。我希望第一个图像显示,5秒后淡出,第二个图像淡入淡出,5秒后淡出,然后淡入第三个图像等等。



我在这里搜索谷歌两天,坦率地说,我不能在搜索中说出正确的话,或者可能性不存在或者我只是个白痴。我试过看故事板,计时器等等。



我可以查看的任何链接,资源或想法可以帮助我解决这个问题吗?

解决方案

您是否搜索过CodeProject知识库?



请参阅: WPF滑动控件集合 - 第1部分:滑动图像控制 [ ^ ]

在WPF中制作图像幻灯片:第四部分 [ ^ ]

Hey coding community,
I need some help, advise, pointers, etc.

I want to add a "box" on a form that can be anything really on the form. That "box" should house 4-6 images that are resources (1.png, 2.png, 3.png, etc). I want the first image to show, maybe fade out after 5 seconds, fade in the second image, fade out after 5 seconds, then fade in the third image, etc.

I have search google for two days on this and frankly I can't either word it right in the search or the possibility doesn't exist or I'm just an idiot. I have tried looking at storyboards, timers, etc.

Any links, resources, or ideas I can look over that may help me figure this out?

解决方案

Have you searched CodeProject Knowledge Base?

See: WPF Sliding Controls Collection – Part 1: Sliding Image Control[^]
Making an Image SlideShow in WPF: Part IV[^]


这篇关于WPF背景图像“某事物”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆