summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.UnitTests/Issues/Bz42531.xaml
blob: 49c473cae98562131f1e07b5dd5fc29e149e4bdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?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.Xaml.UnitTests.Bz42531">
	<ListView x:Name="lv">
		<ListView.ItemTemplate>
			<DataTemplate>
				<ViewCell>
					<StackLayout Orientation="Horizontal">
						<StackLayout.Resources>
							<ResourceDictionary>
								<Style TargetType="Label">
									<Setter Property="HorizontalOptions" Value="Center"/>
								</Style>
							</ResourceDictionary>
						</StackLayout.Resources>
						<Label Text="Example1"/>
						<Label Text="2..."/>
					</StackLayout>
				</ViewCell>
			</DataTemplate>
		</ListView.ItemTemplate>
	</ListView>
</ContentPage>