blob: 58629e6e9a91895743c09966582979a6c37d0e40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:Xamarin.Forms.Xaml.UnitTests;assembly=Xamarin.Forms.Xaml.UnitTests"
x:Class="Xamarin.Forms.Xaml.UnitTests.Issue2489">
<local:WImage Grid.Column="0" Grid.Row="2" Grid.ColumnSpan="2" HeightRequest="150" x:Name="wimage">
<local:WImage.Source>
<UriImageSource Uri="{Binding ImageUrl}" />
</local:WImage.Source>
<local:WImage.Triggers>
<DataTrigger TargetType="{x:Type local:WImage}" Binding="{Binding ImageUrl}" Value="{x:Null}" >
<Setter Property="IsVisible" Value="False" />
</DataTrigger>
</local:WImage.Triggers>
</local:WImage>
</ContentPage>
|