2016-09-23 09:56:29 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2016-03-22 23:02:25 +03:00
|
|
|
<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"
|
2017-01-25 19:03:30 +03:00
|
|
|
xmlns:remote="clr-namespace:Xamarin.Forms.Controls;assembly=Xamarin.Forms.Controls"
|
2016-03-22 23:02:25 +03:00
|
|
|
x:Class="Xamarin.Forms.Xaml.UnitTests.XStatic">
|
2016-12-02 00:34:39 +03:00
|
|
|
<ContentPage.ToolbarItems>
|
|
|
|
<ToolbarItem Icon="{x:Static local:MockxStatic.MockFieldRef}" />
|
|
|
|
</ContentPage.ToolbarItems>
|
2016-03-22 23:02:25 +03:00
|
|
|
<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}" />
|
2016-09-23 09:56:29 +03:00
|
|
|
<Label x:Name="constant"
|
|
|
|
Text="{x:Static local:MockxStatic.MockConstant}"/>
|
2017-01-25 19:03:30 +03:00
|
|
|
<Label x:Name="remoteConstant"
|
|
|
|
Text="{x:Static remote:App.AppName}"/>
|
2016-09-23 09:56:29 +03:00
|
|
|
<Label x:Name="field"
|
|
|
|
Text="{x:Static local:MockxStatic.MockField}"/>
|
|
|
|
<ScrollView x:Name="enuM"
|
|
|
|
Orientation="{x:Static ScrollOrientation.Both}"/>
|
2016-12-02 00:34:39 +03:00
|
|
|
<Label x:Name="field2"
|
|
|
|
Text="{x:Static local:MockxStatic.MockFieldRef}" />
|
2017-04-20 22:06:00 +03:00
|
|
|
<Label x:Name="nestedField"
|
|
|
|
Text="{x:Static local:MockxStatic+Nested.Foo}" />
|
2016-03-22 23:02:25 +03:00
|
|
|
</StackLayout>
|
|
|
|
</ContentPage>
|