-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
XStatic.xaml
30 lines (30 loc) · 1.27 KB
/
XStatic.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
<?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:local="clr-namespace:Xamarin.Forms.Xaml.UnitTests"
xmlns:remote="clr-namespace:Xamarin.Forms.Controls;assembly=Xamarin.Forms.Controls"
x:Class="Xamarin.Forms.Xaml.UnitTests.XStatic">
<ContentPage.ToolbarItems>
<ToolbarItem Icon="{x:Static local:MockxStatic.MockFieldRef}" />
</ContentPage.ToolbarItems>
<StackLayout>
<Label x:Name="staticproperty"
Text="{x:Static Member=local:MockxStatic.MockStaticProperty}" />
<Label x:Name="memberisoptional"
Text="{x:Static local:MockxStatic.MockStaticProperty}" />
<Label x:Name="color"
TextColor="{x:Static local:MockxStatic.BackgroundColor}" />
<Label x:Name="constant"
Text="{x:Static local:MockxStatic.MockConstant}"/>
<Label x:Name="remoteConstant"
Text="{x:Static remote:App.AppName}"/>
<Label x:Name="field"
Text="{x:Static local:MockxStatic.MockField}"/>
<ScrollView x:Name="enuM"
Orientation="{x:Static ScrollOrientation.Both}"/>
<Label x:Name="field2"
Text="{x:Static local:MockxStatic.MockFieldRef}" />
<Label x:Name="nestedField"
Text="{x:Static local:MockxStatic+Nested.Foo}" />
</StackLayout>
</ContentPage>