本文介绍了如何在Expression Blend中平铺图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已经搜索了好几个小时,却找不到任何能解释它的信息.似乎有点傻.我有一个可以平铺的图像,我想在窗口背景上平铺图像-但我不能.我选择瓷砖刷,将 ImageSource 设置为我的图片"bakcground.png",然后选择 TileMode>平铺-什么也没有.图像未平铺,仅位于中间.如果我选择 Stretch>填充,它可以正常工作,图像被拉伸以填充窗口,但这看起来很糟糕.我想自动平铺图像,无论窗口大小如何,在正常使用情况下调整窗口大小时都可以.

我是傻子,只是想念什么吗?还是真的那么复杂?

在此先感谢您的帮助.
我是Blend,WPF和一般编程人员的新手.

Hi,
I''ve been googling this for hours and hours and can''t find anything that explains it. Seems kinda silly. I have a perfectly tile-able image, which I want to tile on my window background - but I''m not able to. I choose Tile brush , set ImageSource to my image "bakcground.png", select TileMode > Tile - and nothing. The image is not tiled, it just sits there in a middle. If I choose Stretch > Fill, it works, image gets stretched, to fill the window, but that looks bad. I want to auto-tile the image, whatever the size window gets, when the window gets resized on normal use.

Am I daft and simply missing something? Or is this really that complicated?

Thanks in advance for any help.
I''m totally new to Blend, WPF and programming in general.

推荐答案



这篇关于如何在Expression Blend中平铺图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-10 23:55