-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Issue7242.xaml
56 lines (53 loc) · 2.63 KB
/
Issue7242.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="utf-8" ?>
<controls:TestContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="clr-namespace:Xamarin.Forms.Controls"
mc:Ignorable="d" x:Class="Xamarin.Forms.Controls.Issues.Issue7242">
<ContentPage.Content>
<StackLayout Padding="0,20,0,0">
<StackLayout Orientation="Horizontal">
<Label Text="Xamarin.Forms Font Micro"
FontSize="Micro"
x:Name="testLabelMicro"/>
<Label BindingContext="{x:Reference Name=testLabelMicro}"
Text="{Binding Path=FontSize, StringFormat='{}Fontsize : {0}'}"/>
<Label Text="Should be: 12"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="Xamarin.Forms Font Small"
FontSize="Small"
x:Name="testLabelSmall"/>
<Label BindingContext="{x:Reference Name=testLabelSmall}"
Text="{Binding Path=FontSize, StringFormat='{}Fontsize : {0}'}"/>
<Label Text="Should be: 14"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="Xamarin.Forms Font Medium"
FontSize="Medium"
x:Name="testLabelMedium"/>
<Label BindingContext="{x:Reference Name=testLabelMedium}"
Text="{Binding Path=FontSize, StringFormat='{}Fontsize : {0}'}"/>
<Label Text="Should be: 17"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="Xamarin.Forms Font Large"
FontSize="Large"
x:Name="testLabelLarge"/>
<Label BindingContext="{x:Reference Name=testLabelLarge}"
Text="{Binding Path=FontSize, StringFormat='{}Fontsize : {0}'}"/>
<Label Text="Should be: 22"/>
</StackLayout>
<StackLayout Orientation="Horizontal">
<Label Text="Xamarin.Forms Font Title"
FontSize="Title"
x:Name="testLabelTitle"/>
<Label BindingContext="{x:Reference Name=testLabelTitle}"
Text="{Binding Path=FontSize, StringFormat='{}Fontsize : {0}'}"/>
<Label Text="Should be: 28"/>
</StackLayout>
</StackLayout>
</ContentPage.Content>
</controls:TestContentPage>