maui-linux/Xamarin.Forms.Xaml.UnitTests/BindingsCompiler.xaml

21 строка
864 B
XML

<?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"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
x:Class="Xamarin.Forms.Xaml.UnitTests.BindingsCompiler" >
<StackLayout>
<StackLayout x:DataType="local:MockViewModel">
<Label Text="{Binding Text}" x:Name="label0" />
<Label Text="{Binding Path=Text}" x:Name="label1" />
<Label Text="{Binding Model.Text}" x:Name="label2" />
<Label Text="{Binding Model[3]}" x:Name="label3" />
<Label Text="{Binding}" x:Name="label4" x:DataType="sys:String"/>
<Entry Text="{Binding Text, Mode=TwoWay}" x:Name="entry0"/>
</StackLayout>
<Label Text="{Binding Text}" x:Name="labelWithUncompiledBinding" />
</StackLayout>
</ContentPage>