summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.UnitTests/X2009Primitives.xaml
blob: c9efad2374abc923e48bd229efe5f5e9f7020548 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?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.X2009Primitives">
	<ContentPage.Resources>
		<ResourceDictionary>
			<x:String x:Key="aString">foobar</x:String>
			<x:String x:Key="defaultString"/>

			<x:Object x:Key="syncHandle"/>

			<x:Boolean x:Key="falsebool">false</x:Boolean>
			<x:Boolean x:Key="truebool">true</x:Boolean>
			<x:Boolean x:Key="defaultbool"/>

			<x:Char x:Key="singleChar">f</x:Char>
			<x:Char x:Key="multipleChar">foo</x:Char>
			<x:Char x:Key="defaultChar"/>

			<x:Decimal x:Key="aDecimal">1000.0</x:Decimal>
			<x:Decimal x:Key="defaultDecimal"/>
			<x:Single x:Key="aSingle">42.2</x:Single>
			<x:Single x:Key="defaultSingle"/>
			<x:Double x:Key="aDouble">42.3</x:Double>
			<x:Double x:Key="aNegativeDouble">-42.3</x:Double>
			<x:Double x:Key="defaultDouble"/>
			<x:Byte x:Key="aByte">54</x:Byte>
			<x:Byte x:Key="defaultByte"/>
			<x:Int16 x:Key="anInt16">43</x:Int16>
			<x:Int16 x:Key="defaultInt16"/>
			<x:Int32 x:Key="anInt32">44</x:Int32>
			<x:Int32 x:Key="defaultInt32"/>
			<x:Int64 x:Key="anInt64">45</x:Int64>
			<x:Int64 x:Key="defaultInt64"/>
			<x:TimeSpan x:Key="aTimeSpan">6.12:14:45.3448000</x:TimeSpan>
			<x:TimeSpan x:Key="defaultTimeSpan"/>
			<x:Uri x:Key="anUri">http://xamarin.com/forms</x:Uri>
			<x:Uri x:Key="defaultUri"/>
			<x:SByte x:Key="aSByte">42</x:SByte>
			<x:UInt16 x:Key="aUInt16">43</x:UInt16>
			<x:UInt32 x:Key="aUInt32">44</x:UInt32>
			<x:UInt64 x:Key="aUInt64">45</x:UInt64>
		</ResourceDictionary>
	</ContentPage.Resources>
</ContentPage>