blob: 5270486572d4bd07784d8226b3e63582399597a1 (
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"
x:Class="Xamarin.Forms.Controls.CompressedLayout"
Padding="0,20,0,0">
<StackLayout Padding="6" CompressedLayout.IsHeadless="true">
<Label Text="First"/>
<StackLayout Padding="6" CompressedLayout.IsHeadless="true">
<Label Text="Second"/>
<ContentView Padding="6" CompressedLayout.IsHeadless="true" BackgroundColor="Pink" >
<Label x:Name="this" Text="{Binding X, Source={x:Reference this}, StringFormat='Label.X:{0}'}"/>
</ContentView>
<Label Text="Fourth"/>
</StackLayout>
<Label Text="Fifth"/>
</StackLayout>
</ContentPage>
|