UWP - How to tile a background image?

前端 未结 4 858
感动是毒
感动是毒 2020-12-21 00:38

In a Universal Windows app, I am trying to use a background image (from an ImageSource) and tile it across a control.

XAML



        
4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-21 00:46

    See my answer to this question:

    You can tile using the Win2D library. They have sample code as well; there's a tiling sample under "effects" (EffectsSample.xaml.cs).

提交回复
热议问题