Xamarin 表单模式图像重复填充背景
我有一个简单的问题:在Xamarin表单中,是否可以设置一个图像来填充页面的背景? 这是我的内容页:Xamarin 表单模式图像重复填充背景,xamarin,xamarin.forms,xamarin-studio,Xamarin,Xamarin.forms,Xamarin Studio,我有一个简单的问题:在Xamarin表单中,是否可以设置一个图像来填充页面的背景? 这是我的内容页: <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:Facedoor" x:Class="Facedo
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:Facedoor"
x:Class="Facedoor.LoginPage"
BackgroundImage="pattern-background.png">
该图像是一个小纹理,我想填补背景重复它。可能吗?对于android,您可以使用“android:tileMode=“repeat”
”,但对于使用contentpages的3个平台,可以使用平铺背景。。。。我想你需要一个自定义的渲染器。检查此线程,也许你可以做“相同”但调整图像大小