26 строки
645 B
C#
26 строки
645 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Xamarin.Forms.CustomAttributes;
|
|
using Xamarin.Forms.Internals;
|
|
|
|
namespace Xamarin.Forms.Controls
|
|
{
|
|
[Preserve (AllMembers = true)]
|
|
[Issue (IssueTracker.None, 0,"Modal ContentPage", PlatformAffected.All, NavigationBehavior.PushModalAsync)]
|
|
public class ModalContentPage : ContentPage
|
|
{
|
|
public ModalContentPage ()
|
|
{
|
|
Title = "Test Modal";
|
|
Content = new Button {
|
|
Text = "I am button",
|
|
VerticalOptions = LayoutOptions.CenterAndExpand,
|
|
HorizontalOptions = LayoutOptions.CenterAndExpand
|
|
};
|
|
}
|
|
}
|
|
}
|