summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.UnitTests/BindingsCompiler.xaml
blob: 4d3deeeeedcfebe83d242297bde83844a477c1d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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>