[NUI]Add xaml support for nui and nui xaml test sample (#230)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / XamlBinding / INavigationPageController.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Threading.Tasks;
4 using Tizen.NUI.Internals;
5
6 namespace Tizen.NUI.Binding
7 {
8         internal interface INavigationPageController
9         {
10                 Task<Page> RemoveAsyncInner(Page page, bool animated, bool fast);
11
12                 Page Peek(int depth = 0);
13
14                 IEnumerable<Page> Pages { get; }
15
16                 int StackDepth { get; }
17
18                 Task<Page> PopAsyncInner(bool animated, bool fast = false);
19
20                 event EventHandler<NavigationRequestedEventArgs> InsertPageBeforeRequested;
21
22                 event EventHandler<NavigationRequestedEventArgs> PopRequested;
23
24                 event EventHandler<NavigationRequestedEventArgs> PopToRootRequested;
25
26                 event EventHandler<NavigationRequestedEventArgs> PushRequested;
27
28                 event EventHandler<NavigationRequestedEventArgs> RemovePageRequested;
29         }
30 }