适用于SIlverlight 2的TileBrush?
时间:2020-03-05 18:59:27 来源:igfitidea点击:
我们可能知道,Silverlight在WPF中没有找到TileBrush。有没有解决的办法进行平铺?
解决方案
回答
好吧,似乎Silverlight确实支持TileBrush,如MSDN上所述:
System.Windows.Media.TileBrush。它首先出现在Silverlight 2.0 Beta 2中。
回答
据Silverlight论坛的贡献者
TileBrush in Silverlight (2 and 3) is only a placeholder class ready for future expansion and for WPF compatibility
目前提出了PixelShader解决方法,我们可以在此处找到说明
有人请编辑我的帖子! :-)