maui-linux/Xamarin.Forms.Core/Internals/NavigationRequestedEventArg...

28 строки
655 B
C#
Исходник Обычный вид История

using System.ComponentModel;
2016-03-22 23:02:25 +03:00
using System.Threading.Tasks;
2016-05-04 15:18:40 +03:00
namespace Xamarin.Forms.Internals
2016-03-22 23:02:25 +03:00
{
[EditorBrowsable(EditorBrowsableState.Never)]
2016-05-04 15:18:40 +03:00
public class NavigationRequestedEventArgs : NavigationEventArgs
2016-03-22 23:02:25 +03:00
{
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; }
}
}