aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/App.xaml
blob: 5765971343fad936db173d752f8ee860d526a21d (plain)
1
2
3
4
5
6
7
8
9
10
11
<Application x:Class="Tango.PPC.Browser.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/Tango.PPC.Common;component/Resources/Merged.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>
lass="p">; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tango.PPC.Common.Navigation { /// <summary> /// Represents an object which can abort the navigation from it. /// </summary> public interface INavigationBlocker { /// <summary> /// Called before the navigation system navigates from this object. /// Return false to abort the navigation. /// </summary> /// <returns></returns> Task<bool> OnNavigateOutRequest(); /// <summary> /// Called before the navigation system navigates back from this object. /// Return false to abort the navigation. /// </summary> /// <returns></returns> Task<bool> OnNavigateBackRequest(); } }