Moved HyperlinkText to SampleApps

This commit is contained in:
Clemens 2021-10-28 20:26:51 +02:00
parent 19d1b8f479
commit af238035cf
20 changed files with 35 additions and 70 deletions

View file

@ -1,8 +1,8 @@
<Application
x:Class="UniversalApp.App"
x:Class="SampleApplication.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:UniversalApp"
xmlns:local="using:SampleApplication"
RequestedTheme="Light">
</Application>

View file

@ -5,7 +5,7 @@ using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace UniversalApp
namespace SampleApplication
{
sealed partial class App : Application
{

View file

@ -1,7 +1,8 @@
<Page
x:Class="UniversalApp.MainPage"
x:Class="SampleApplication.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:SampleApplication"
xmlns:map="using:MapControl">
<Page.Resources>
@ -141,7 +142,7 @@
<Border HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#BFFFFFFF">
<TextBlock Margin="2" FontSize="10"
map:HyperlinkText.InlinesSource="{Binding MapLayers.CurrentMapLayer.Description}"/>
local:HyperlinkText.InlinesSource="{Binding MapLayers.CurrentMapLayer.Description}"/>
</Border>
<Grid Grid.Row="1">

View file

@ -2,12 +2,11 @@
using System.Diagnostics;
using System.IO;
using MapControl;
using ViewModel;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
namespace UniversalApp
namespace SampleApplication
{
public sealed partial class MainPage : Page
{

View file

@ -48,6 +48,9 @@
<EnableGatekeeperAnalysis>false</EnableGatekeeperAnalysis>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\Shared\HyperlinkText.cs">
<Link>HyperlinkText.cs</Link>
</Compile>
<Compile Include="..\Shared\MapLayers.cs">
<Link>MapLayers.cs</Link>
</Compile>