maui-linux/Xamarin.Forms.Xaml.UnitTests/XStatic.xaml

30 строки
1.3 KiB
Plaintext
Исходник Обычный вид История

<?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"
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">
<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}" />
<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}" />
2016-03-22 23:02:25 +03:00
</StackLayout>
</ContentPage>