зеркало из https://github.com/DeGsoft/maui-linux.git
27 строки
634 B
C#
27 строки
634 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
using Xamarin.Forms.CustomAttributes;
|
|
|
|
namespace Xamarin.Forms.Controls
|
|
{
|
|
[Preserve (AllMembers=true)]
|
|
[Issue (IssueTracker.Github, 1722, "MasterDetailPage crashes when assigning a NavigationPage to Detail with no children pushed", PlatformAffected.iOS)]
|
|
public class Issue1722 : MasterDetailPage
|
|
{
|
|
public Issue1722 ()
|
|
{
|
|
Master = new ContentPage {
|
|
Title = "Master",
|
|
Content = new Label { Text = "Master" }
|
|
};
|
|
|
|
Detail = new NavigationPage ();
|
|
}
|
|
}
|
|
}
|