blob: 81a545cd3e9b633f944be94ecd7916f91100fb2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
using System.ComponentModel;
using System.Threading.Tasks;
namespace Xamarin.Forms.Internals
{
[EditorBrowsable(EditorBrowsableState.Never)]
public class NavigationRequestedEventArgs : NavigationEventArgs
{
public NavigationRequestedEventArgs(Page page, bool animated, bool realize = true) : base(page)
{
Animated = animated;
Realize = realize;
}
public NavigationRequestedEventArgs(Page page, Page before, bool animated) : this(page, animated)
{
BeforePage = before;
}
public bool Animated { get; set; }
public Page BeforePage { get; set; }
public bool Realize { get; set; }
public Task<bool> Task { get; set; }
}
}
|