ImageBrush中的TileMode、Viewport属性可以实现平铺。

1 <Grid>
2          <Grid.Background>
3                 <ImageBrush ImageSource="Res/Images/curcattab.png" TileMode="Tile"  Viewport="0,0,0.5,0.5"/>
4          </Grid.Background>
5 </Grid>
View Code

相关文章:

  • 2022-02-15
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
猜你喜欢
  • 2021-12-23
  • 2021-09-26
  • 2022-12-23
  • 2021-10-07
  • 2021-07-05
  • 2022-12-23
相关资源
相似解决方案