17 строки
705 B
XML
17 строки
705 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"
|
|
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> |