maui-linux/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issu.../Issue1219.cs

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", "", () => {
}));
}
}
}