diff options
author | Jason Smith <jason.smith@xamarin.com> | 2016-03-22 13:02:25 -0700 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-03-22 16:13:41 -0700 |
commit | 17fdde66d94155fc62a034fa6658995bef6fd6e5 (patch) | |
tree | b5e5073a2a7b15cdbe826faa5c763e270a505729 /Xamarin.Forms.ControlGallery.Windows | |
download | xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.tar.gz xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.tar.bz2 xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.zip |
Initial import
Diffstat (limited to 'Xamarin.Forms.ControlGallery.Windows')
15 files changed, 529 insertions, 0 deletions
diff --git a/Xamarin.Forms.ControlGallery.Windows/App.xaml b/Xamarin.Forms.ControlGallery.Windows/App.xaml new file mode 100644 index 00000000..fd5f15d9 --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Windows/App.xaml @@ -0,0 +1,7 @@ +<Application + x:Class="Xamarin.Forms.ControlGallery.Windows.App" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:local="using:Xamarin.Forms.ControlGallery.Windows"> + +</Application> diff --git a/Xamarin.Forms.ControlGallery.Windows/App.xaml.cs b/Xamarin.Forms.ControlGallery.Windows/App.xaml.cs new file mode 100644 index 00000000..a20e2ce0 --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Windows/App.xaml.cs @@ -0,0 +1,67 @@ +using System; +using Windows.ApplicationModel; +using Windows.ApplicationModel.Activation; +using Windows.UI.Xaml; +using Windows.UI.Xaml.Navigation; + +namespace Xamarin.Forms.ControlGallery.Windows +{ + public sealed partial class App + { + public App() + { + InitializeComponent(); + } + + protected override void OnLaunched(LaunchActivatedEventArgs e) + { + +#if DEBUG + if (System.Diagnostics.Debugger.IsAttached) + { + DebugSettings.EnableFrameRateCounter = true; + } +#endif + + var rootFrame = Window.Current.Content as global::Windows.UI.Xaml.Controls.Frame; + + // Do not repeat app initialization when the Window already has content, + // just ensure that the window is active + if (rootFrame == null) + { + // Create a Frame to act as the navigation context and navigate to the first page + rootFrame = new global::Windows.UI.Xaml.Controls.Frame(); + // Set the default language + rootFrame.Language = global::Windows.Globalization.ApplicationLanguages.Languages[0]; + + rootFrame.NavigationFailed += OnNavigationFailed; + + Forms.Init (e); + FormsMaps.Init (Controls.App.Secrets["Win8MapsAuthKey"]); + + // Place the frame in the current Window + Window.Current.Content = rootFrame; + } + + if (rootFrame.Content == null) + { + // When the navigation stack isn't restored navigate to the first page, + // configuring the new page by passing required information as a navigation + // parameter + rootFrame.Navigate(typeof(MainPage), e.Arguments); + } + // Ensure the current window is active + Window.Current.Activate(); + } + + /// <summary> + /// Invoked when Navigation to a certain page fails + /// </summary> + /// <param name="sender">The Frame which failed navigation</param> + /// <param name="e">Details about the navigation failure</param> + void OnNavigationFailed(object sender, NavigationFailedEventArgs e) + { + throw new Exception("Failed to load Page " + e.SourcePageType.FullName); + } + } +}
\ No newline at end of file diff --git a/Xamarin.Forms.ControlGallery.Windows/Assets/Logo.scale-100.png b/Xamarin.Forms.ControlGallery.Windows/Assets/Logo.scale-100.png Binary files differnew file mode 100644 index 00000000..e26771cb --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Windows/Assets/Logo.scale-100.png diff --git a/Xamarin.Forms.ControlGallery.Windows/Assets/SmallLogo.scale-100.png b/Xamarin.Forms.ControlGallery.Windows/Assets/SmallLogo.scale-100.png Binary files differnew file mode 100644 index 00000000..1eb0d9d5 --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Windows/Assets/SmallLogo.scale-100.png diff --git a/Xamarin.Forms.ControlGallery.Windows/Assets/SplashScreen.scale-100.png b/Xamarin.Forms.ControlGallery.Windows/Assets/SplashScreen.scale-100.png Binary files differnew file mode 100644 index 00000000..c951e031 --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Windows/Assets/SplashScreen.scale-100.png diff --git a/Xamarin.Forms.ControlGallery.Windows/Assets/StoreLogo.scale-100.png b/Xamarin.Forms.ControlGallery.Windows/Assets/StoreLogo.scale-100.png Binary files differnew file mode 100644 index 00000000..dcb67271 --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Windows/Assets/StoreLogo.scale-100.png diff --git a/Xamarin.Forms.ControlGallery.Windows/BrokenNativeControl.cs b/Xamarin.Forms.ControlGallery.Windows/BrokenNativeControl.cs new file mode 100644 index 00000000..02536301 --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Windows/BrokenNativeControl.cs @@ -0,0 +1,64 @@ +using Windows.Foundation; +using Windows.Graphics.Display; +using Windows.UI; +using Windows.UI.ViewManagement; +using Windows.UI.Xaml; +using Windows.UI.Xaml.Controls; +using Windows.UI.Xaml.Media; + +namespace Xamarin.Forms.ControlGallery.Windows +{ + internal class BrokenNativeControl : Panel + { + public BrokenNativeControl () + { + _textBlock = new TextBlock { + MinHeight = 0, + MaxHeight = double.PositiveInfinity, + MinWidth = 0, + MaxWidth = double.PositiveInfinity, + FontSize = 24, + HorizontalAlignment = HorizontalAlignment.Center + }; + + Children.Add (_textBlock); + + Background = + new LinearGradientBrush ( + new GradientStopCollection { new GradientStop { Color = Colors.Green, Offset = 0.5}, new GradientStop { Color = Colors.Blue, Offset = 1} }, 0); + } + + public static readonly DependencyProperty TextProperty = DependencyProperty.Register ( + "Text", typeof(string), typeof(BrokenNativeControl), new PropertyMetadata (default(string), PropertyChangedCallback)); + + static void PropertyChangedCallback (DependencyObject dependencyObject, + DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) + { + ((BrokenNativeControl)dependencyObject)._textBlock.Text = (string)dependencyPropertyChangedEventArgs.NewValue; + } + + public string Text + { + get { return (string)GetValue (TextProperty); } + set { SetValue (TextProperty, value); } + } + + readonly TextBlock _textBlock; + + protected override global::Windows.Foundation.Size ArrangeOverride(global::Windows.Foundation.Size finalSize) + { + _textBlock.Arrange(new Rect(0, 0, finalSize.Width, finalSize.Height)); + return finalSize; + } + + protected override global::Windows.Foundation.Size MeasureOverride (global::Windows.Foundation.Size availableSize) + { + _textBlock.Measure (availableSize); + + // This deliberately does something wrong so we can demo fixing it + var width = Window.Current.Bounds.Width * (int)DisplayProperties.ResolutionScale / 100; + + return new global::Windows.Foundation.Size (width, _textBlock.DesiredSize.Height); + } + } +}
\ No newline at end of file diff --git a/Xamarin.Forms.ControlGallery.Windows/MainPage.xaml b/Xamarin.Forms.ControlGallery.Windows/MainPage.xaml new file mode 100644 index 00000000..b6c68bc2 --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Windows/MainPage.xaml @@ -0,0 +1,11 @@ +<forms:WindowsPage + x:Class="Xamarin.Forms.ControlGallery.Windows.MainPage" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:local="using:Xamarin.Forms.ControlGallery.Windows" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:forms="using:Xamarin.Forms.Platform.WinRT" + mc:Ignorable="d"> + +</forms:WindowsPage>
\ No newline at end of file diff --git a/Xamarin.Forms.ControlGallery.Windows/MainPage.xaml.cs b/Xamarin.Forms.ControlGallery.Windows/MainPage.xaml.cs new file mode 100644 index 00000000..d02dda0e --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Windows/MainPage.xaml.cs @@ -0,0 +1,100 @@ +using System; +using Windows.Foundation; +using Windows.Graphics.Display; +using Windows.UI.Xaml; +using Windows.UI.Xaml.Controls; +using Windows.UI.Xaml.Media; +using Xamarin.Forms.Controls; +using Xamarin.Forms.Platform.WinRT; + +namespace Xamarin.Forms.ControlGallery.Windows +{ + public sealed partial class MainPage + { + public MainPage () + { + InitializeComponent (); + + var app = new Controls.App (); + + var mdp = app.MainPage as MasterDetailPage; + + var detail = mdp?.Detail as NavigationPage; + if (detail != null) { + detail.Pushed += (sender, args) => { + var nncgPage = args.Page as NestedNativeControlGalleryPage; + + if (nncgPage != null) { + AddNativeControls (nncgPage); + } + }; + } + + LoadApplication (app); + } + + static void AddNativeControls (NestedNativeControlGalleryPage page) + { + if (page.NativeControlsAdded) { + return; + } + + StackLayout sl = page.Layout; + + // Create and add a native TextBlock + var originalText = "I am a native TextBlock"; + var textBlock = new TextBlock { + Text = originalText, + FontSize = 14, + FontFamily = new FontFamily ("HelveticaNeue") + }; + + sl?.Children.Add (textBlock); + + // Create and add a native Button + var button = new global::Windows.UI.Xaml.Controls.Button { Content = "Click to toggle font size", Height = 80 }; + button.Click += (sender, args) => { textBlock.FontSize = textBlock.FontSize == 14 ? 24 : 14; }; + + sl?.Children.Add (button.ToView ()); + + // Create a control which we know doesn't behave correctly with regard to measurement + var difficultControl = new BrokenNativeControl { + Text = "Not Sized/Arranged Properly" + }; + + var difficultControl2 = new BrokenNativeControl { + Text = "Fixed" + }; + + // Add the misbehaving controls, one with a custom delegate for ArrangeOverrideDelegate + sl?.Children.Add (difficultControl); + sl?.Children.Add (difficultControl2, + arrangeOverrideDelegate: (renderer, finalSize) => { + if (finalSize.Width <= 0 || double.IsInfinity (finalSize.Width)) { + return null; + } + + FrameworkElement frameworkElement = renderer.Control; + + frameworkElement.Measure (finalSize); + + // The broken control tries sizes itself to be the width of the screen + var wrongSize = Window.Current.Bounds.Width * (int)DisplayProperties.ResolutionScale / 100; + + // We can re-center it by offsetting it during the Arrange call + double diff = Math.Abs(finalSize.Width - wrongSize) / -2; + frameworkElement.Arrange (new Rect (diff, 0, finalSize.Width - diff, finalSize.Height)); + + // Arranging the control to the left will make it show up past the edge of the stack layout + // We can fix that by clipping it manually + var clip = new RectangleGeometry { Rect = new Rect (-diff, 0, finalSize.Width, finalSize.Height) }; + frameworkElement.Clip = clip; + + return finalSize; + } + ); + + page.NativeControlsAdded = true; + } + } +}
\ No newline at end of file diff --git a/Xamarin.Forms.ControlGallery.Windows/Package.appxmanifest b/Xamarin.Forms.ControlGallery.Windows/Package.appxmanifest new file mode 100644 index 00000000..643facd6 --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Windows/Package.appxmanifest @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest"> + <Identity Name="a4530307-5452-466a-8944-7925f27ddc21" Publisher="CN=Eric" Version="1.0.0.0" /> + <Properties> + <DisplayName>Xamarin.Forms.ControlGallery.Windows</DisplayName> + <PublisherDisplayName>Xamarin Inc</PublisherDisplayName> + <Logo>Assets\StoreLogo.png</Logo> + </Properties> + <Prerequisites> + <OSMinVersion>6.3.0</OSMinVersion> + <OSMaxVersionTested>6.3.0</OSMaxVersionTested> + </Prerequisites> + <Resources> + <Resource Language="x-generate" /> + </Resources> + <Applications> + <Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="Xamarin.Forms.ControlGallery.Windows.App"> + <m2:VisualElements DisplayName="Xamarin.Forms.ControlGallery.Windows" Square150x150Logo="Assets\Logo.png" Square30x30Logo="Assets\SmallLogo.png" Description="Xamarin.Forms.ControlGallery.Windows" ForegroundText="light" BackgroundColor="#464646"> + <m2:SplashScreen Image="Assets\SplashScreen.png" /> + </m2:VisualElements> + </Application> + </Applications> + <Capabilities> + <Capability Name="internetClient" /> + <Capability Name="internetClientServer" /> + <Capability Name="privateNetworkClientServer" /> + <DeviceCapability Name="location" /> + </Capabilities> +</Package>
\ No newline at end of file diff --git a/Xamarin.Forms.ControlGallery.Windows/Properties/AssemblyInfo.cs b/Xamarin.Forms.ControlGallery.Windows/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..89577935 --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Windows/Properties/AssemblyInfo.cs @@ -0,0 +1,29 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Xamarin.Forms.ControlGallery.Windows")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Xamarin.Forms.ControlGallery.Windows")] +[assembly: AssemblyCopyright("Copyright © Xamarin Inc 2014")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: ComVisible(false)]
\ No newline at end of file diff --git a/Xamarin.Forms.ControlGallery.Windows/StringProvider.cs b/Xamarin.Forms.ControlGallery.Windows/StringProvider.cs new file mode 100644 index 00000000..68da57e7 --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Windows/StringProvider.cs @@ -0,0 +1,15 @@ +using Xamarin.Forms; +using Xamarin.Forms.ControlGallery.WinRT; +using Xamarin.Forms.Controls; + +[assembly: Dependency (typeof (StringProvider))] + +namespace Xamarin.Forms.ControlGallery.WinRT +{ + public class StringProvider : IStringProvider + { + public string CoreGalleryTitle { + get { return "Windows Core Gallery"; } + } + } +} diff --git a/Xamarin.Forms.ControlGallery.Windows/Xamarin.Forms.ControlGallery.Windows.csproj b/Xamarin.Forms.ControlGallery.Windows/Xamarin.Forms.ControlGallery.Windows.csproj new file mode 100644 index 00000000..c5f558b5 --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Windows/Xamarin.Forms.ControlGallery.Windows.csproj @@ -0,0 +1,207 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="..\nuspec\Xamarin.Forms.Maps.props" Condition="Exists('..\nuspec\Xamarin.Forms.Maps.props')" /> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{1251646E-7FC6-425C-9464-A35DF1FC8E4D}</ProjectGuid> + <OutputType>AppContainerExe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Xamarin.Forms.ControlGallery.Windows</RootNamespace> + <AssemblyName>Xamarin.Forms.ControlGallery.Windows</AssemblyName> + <DefaultLanguage>en-US</DefaultLanguage> + <TargetPlatformVersion>8.1</TargetPlatformVersion> + <MinimumVisualStudioVersion>12</MinimumVisualStudioVersion> + <FileAlignment>512</FileAlignment> + <ProjectTypeGuids>{BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> + <PackageCertificateKeyFile>Xamarin.Forms.ControlGallery.Windows_TemporaryKey.pfx</PackageCertificateKeyFile> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'"> + <DebugSymbols>true</DebugSymbols> + <OutputPath>bin\ARM\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants> + <NoWarn>;2008</NoWarn> + <DebugType>full</DebugType> + <PlatformTarget>ARM</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'"> + <OutputPath>bin\ARM\Release\</OutputPath> + <DefineConstants>TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants> + <Optimize>true</Optimize> + <NoWarn>;2008</NoWarn> + <DebugType>pdbonly</DebugType> + <PlatformTarget>ARM</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> + <DebugSymbols>true</DebugSymbols> + <OutputPath>bin\x64\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants> + <NoWarn>;2008</NoWarn> + <DebugType>full</DebugType> + <PlatformTarget>x64</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> + <OutputPath>bin\x64\Release\</OutputPath> + <DefineConstants>TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants> + <Optimize>true</Optimize> + <NoWarn>;2008</NoWarn> + <DebugType>pdbonly</DebugType> + <PlatformTarget>x64</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> + <DebugSymbols>true</DebugSymbols> + <OutputPath>bin\x86\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants> + <NoWarn>;2008</NoWarn> + <DebugType>full</DebugType> + <PlatformTarget>x86</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> + <OutputPath>bin\x86\Release\</OutputPath> + <DefineConstants>TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants> + <Optimize>true</Optimize> + <NoWarn>;2008</NoWarn> + <DebugType>pdbonly</DebugType> + <PlatformTarget>x86</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <Prefer32Bit>true</Prefer32Bit> + </PropertyGroup> + <ItemGroup> + <!-- A reference to the entire .Net Framework and Windows SDK are automatically included --> + <ProjectReference Include="..\Xamarin.Forms.Controls\Xamarin.Forms.Controls.csproj"> + <Project>{cb9c96ce-125c-4a68-b6a1-c3ff1fbf93e1}</Project> + <Name>Xamarin.Forms.Controls</Name> + </ProjectReference> + <ProjectReference Include="..\Xamarin.Forms.Core\Xamarin.Forms.Core.csproj"> + <Project>{57b8b73d-c3b5-4c42-869e-7b2f17d354ac}</Project> + <Name>Xamarin.Forms.Core</Name> + </ProjectReference> + <ProjectReference Include="..\Xamarin.Forms.Maps.WinRT.Tablet\Xamarin.Forms.Maps.WinRT.Tablet.csproj"> + <Project>{e5c4698d-fb57-4eec-98c0-89e620f6920a}</Project> + <Name>Xamarin.Forms.Maps.WinRT.Tablet</Name> + </ProjectReference> + <ProjectReference Include="..\Xamarin.Forms.Platform.WinRT.Tablet\Xamarin.Forms.Platform.WinRT.Tablet.csproj"> + <Project>{d3f9265a-30ac-43e8-a3eb-59bb76d2d0bf}</Project> + <Name>Xamarin.Forms.Platform.WinRT.Tablet</Name> + </ProjectReference> + <ProjectReference Include="..\Xamarin.Forms.Platform.WinRT\Xamarin.Forms.Platform.WinRT.csproj"> + <Project>{f3fdd7ac-8899-4e41-bfd7-ec83403e736d}</Project> + <Name>Xamarin.Forms.Platform.WinRT</Name> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <Compile Include="App.xaml.cs"> + <DependentUpon>App.xaml</DependentUpon> + </Compile> + <Compile Include="BrokenNativeControl.cs" /> + <Compile Include="MainPage.xaml.cs"> + <DependentUpon>MainPage.xaml</DependentUpon> + </Compile> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="StringProvider.cs" /> + </ItemGroup> + <ItemGroup> + <AppxManifest Include="Package.appxmanifest"> + <SubType>Designer</SubType> + </AppxManifest> + <None Include="Xamarin.Forms.ControlGallery.Windows_TemporaryKey.pfx" /> + </ItemGroup> + <ItemGroup> + <Content Include="..\Xamarin.Forms.ControlGallery.WP8\bank.png"> + <Link>bank.png</Link> + </Content> + <Content Include="..\Xamarin.Forms.ControlGallery.WP8\cover1.jpg"> + <Link>cover1.jpg</Link> + </Content> + <Content Include="..\Xamarin.Forms.ControlGallery.WP8\cover1small.jpg"> + <Link>cover1small.jpg</Link> + </Content> + <Content Include="..\Xamarin.Forms.ControlGallery.WP8\crimson.jpg"> + <Link>crimson.jpg</Link> + </Content> + <Content Include="..\Xamarin.Forms.ControlGallery.WP8\crimsonsmall.jpg"> + <Link>crimsonsmall.jpg</Link> + </Content> + <Content Include="..\Xamarin.Forms.ControlGallery.WP8\menuIcon.png"> + <Link>menuIcon.png</Link> + </Content> + <Content Include="..\Xamarin.Forms.ControlGallery.WP8\oasis.jpg"> + <Link>oasis.jpg</Link> + </Content> + <Content Include="..\Xamarin.Forms.ControlGallery.WP8\oasissmall.jpg"> + <Link>oasissmall.jpg</Link> + </Content> + <Content Include="..\Xamarin.Forms.ControlGallery.WP8\photo.jpg"> + <Link>photo.jpg</Link> + </Content> + <Content Include="..\Xamarin.Forms.ControlGallery.WP8\seth.png"> + <Link>seth.png</Link> + </Content> + <Content Include="Assets\Logo.scale-100.png" /> + <Content Include="Assets\SmallLogo.scale-100.png" /> + <Content Include="Assets\SplashScreen.scale-100.png" /> + <Content Include="Assets\StoreLogo.scale-100.png" /> + <Content Include="toolbar_close.png" /> + </ItemGroup> + <ItemGroup> + <ApplicationDefinition Include="App.xaml"> + <Generator>MSBuild:Compile</Generator> + <SubType>Designer</SubType> + </ApplicationDefinition> + </ItemGroup> + <ItemGroup> + <Page Include="MainPage.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> + </ItemGroup> + <PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '12.0' "> + <VisualStudioVersion>12.0</VisualStudioVersion> + </PropertyGroup> + <Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" /> + <Import Project="$(XamlSpyInstallPath)MSBuild\FirstFloor.XamlSpy.WinRT.targets" Condition="'$(XamlSpyInstallPath)' != '' and '$(Configuration)' == 'DEBUG'" /> + <Import Project="..\nuspec\Xamarin.Forms.Maps.targets" Condition="Exists('..\nuspec\Xamarin.Forms.Maps.targets')" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Xamarin.Forms.ControlGallery.Windows/Xamarin.Forms.ControlGallery.Windows_TemporaryKey.pfx b/Xamarin.Forms.ControlGallery.Windows/Xamarin.Forms.ControlGallery.Windows_TemporaryKey.pfx Binary files differnew file mode 100644 index 00000000..c4de2da1 --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Windows/Xamarin.Forms.ControlGallery.Windows_TemporaryKey.pfx diff --git a/Xamarin.Forms.ControlGallery.Windows/toolbar_close.png b/Xamarin.Forms.ControlGallery.Windows/toolbar_close.png Binary files differnew file mode 100644 index 00000000..12f82abb --- /dev/null +++ b/Xamarin.Forms.ControlGallery.Windows/toolbar_close.png |