20 строки
391 B
C#
20 строки
391 B
C#
using System;
|
|
|
|
using Xamarin.Forms.CustomAttributes;
|
|
|
|
namespace Xamarin.Forms.Controls
|
|
{
|
|
[Preserve (AllMembers=true)]
|
|
[Issue (IssueTracker.Github, 1219, "Setting ToolbarItems in ContentPage constructor crashes app", PlatformAffected.iOS)]
|
|
public class Issue1219 : ContentPage
|
|
{
|
|
public Issue1219 ()
|
|
{
|
|
ToolbarItems.Add(new ToolbarItem ("MenuItem", "", () => {
|
|
|
|
}));
|
|
}
|
|
}
|
|
}
|
|
|