Expression Blend 2中的平铺图像 [英] Tiled images in Expression Blend 2

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

问题描述

我对Expression Blend很陌生,所以如果这是一个愚蠢的问题,请提前道歉:)
我正在使用Expression Blend 2中的Silverlight 2项目并需要将图像作为平铺背景应用于网格。
是否有直接的方法来执行此操作?
到目前为止,我已将图像创建为画笔资源并将其应用为背景,但只能伸展它以适应网格;我找不到平铺图像的方法。我看过提到Tile Brush的文章,但我的画笔调色板中似乎没有这个选项; (我只有没有画笔,纯色画笔,渐变画笔和画笔资源标签)。

我错过了一些简单的东西吗?

提前致谢,
Jon

I'm quite new to Expression Blend so apologies up front if this is a daft question :)

I'm working on a Silverlight 2 project in Expression Blend 2 and need to apply an image as a tiled background to a Grid.
Is there a straightforward way of doing this?

So far, I've created my image as a Brush Resource and applied it as a background, but can only stretch it to fit the grid; I can't find a way to tile the image. I've seen articles mentioning the Tile Brush, but I don't seem to have this option in my Brushes palette; (I just have No Brush, Solid Color Brush, Gradient Brush and Brush Resources tabs).

Am I missing something simple?

Thanks in advance,
Jon

推荐答案

我希望这会对你有帮助:)
http://wpfwonderland.wordpress.com/2007/05/15/wpf-visualbrush-basics/
I hope this will help you :)
http://wpfwonderland.wordpress.com/2007/05/15/wpf-visualbrush-basics/


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

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