summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.UnitTests/GenericsTests.xaml
blob: 0fe022879545edcbe4ef3450ea7f318925041d17 (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
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
			 xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
			 xmlns:sys="clr-namespace:System;assembly=mscorlib"
			 xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
			 xmlns:scgs="clr-namespace:System.Collections.Generic;assembly=System"
			 x:Class="Xamarin.Forms.Xaml.UnitTests.GenericsTests">
	<ContentPage.Resources>
		<ResourceDictionary>
			<scg:List x:TypeArguments="Button" x:Key="genericButtonList">
				<Button />
				<Button />
			</scg:List>
			<scg:List x:TypeArguments="Button" x:Key="genericButtonList1" x:Name="myList"/>
			<scg:List x:TypeArguments="sys:String" x:Key="list"/>
			<scg:Dictionary x:TypeArguments="sys:String, sys:String"  x:Key="dict"/>
			<scgs:Queue x:TypeArguments="scg:KeyValuePair(sys:String,sys:String)" x:Key="queue"/>
			<scg:List x:TypeArguments="x:String" x:Key="stringList"/>
			<scg:List x:TypeArguments="scg:KeyValuePair(x:String,x:String)" x:Key="TestList" x:Name="TestListMember" >
				<scg:KeyValuePair x:TypeArguments="x:String,x:String" >
					<x:Arguments>
						<x:String>TheKey</x:String>
						<x:String>TheValue</x:String>
					</x:Arguments>
				</scg:KeyValuePair>
			</scg:List>
		</ResourceDictionary>
	</ContentPage.Resources>
</ContentPage>