maui-linux/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issu.../Bugzilla39378.xaml

13 строки
967 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<local:TestContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Xamarin.Forms.Controls.Issues.Bugzilla39378" xmlns:local="clr-namespace:Xamarin.Forms.Controls">
<local:TestContentPage.Content>
<Grid BackgroundColor="{Binding BackgroundColor}" Margin="20" Padding="20">
<Label Text="Verify that the background color for the container is beige and an image can be seen below this text. This is primarily testing that the binding for the URI image source works." LineBreakMode="WordWrap" MaxLines="4" VerticalTextAlignment="Start"/>
<Image AutomationId="image1" HorizontalOptions="Center" VerticalOptions="Center">
<Image.Source>
<UriImageSource Uri="{Binding HomeImage}" />
</Image.Source>
</Image>
</Grid>
</local:TestContentPage.Content>
</local:TestContentPage>