summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.UnitTests/TriggerTests.xaml
blob: a8291e387a97b5c3d83c642437518bcac78f5e80 (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.TriggerTests">
	<ContentPage.Content>
		<StackLayout>
			<Entry x:Name="entry">
				<Entry.Triggers>
					<Trigger Property="IsPassword" Value="true" TargetType="Entry">
						<Setter Property="Scale" Value="1.2" />
					</Trigger>
				</Entry.Triggers>
			</Entry>
			<Entry x:Name="entry1">
				<Entry.Triggers>
					<MultiTrigger TargetType="Entry">
						<MultiTrigger.Conditions>
							<PropertyCondition Value="True" Property="IsPassword" />
						</MultiTrigger.Conditions>
						<Setter Property="Scale" Value="1.2" />
					</MultiTrigger>
				</Entry.Triggers>
			</Entry>
		</StackLayout>
	</ContentPage.Content>
</ContentPage>