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

37 строки
833 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms.CustomAttributes;
namespace Xamarin.Forms.Controls
{
[Preserve (AllMembers = true)]
[Issue (IssueTracker.Github, 2783, "MemoryLeak in FrameRenderer", PlatformAffected.Android, NavigationBehavior.PushModalAsync)]
public class Issue2783 : ContentPage
{
public Issue2783 ()
{
Frame frPatientInfo = new Frame
{
OutlineColor = Color.Black,
BackgroundColor = Color.White,
HasShadow = true,
HorizontalOptions = LayoutOptions.Center,
VerticalOptions = LayoutOptions.Center,
Padding = 5,
Content = new AbsoluteLayout {
BackgroundColor = Color.Red,
HeightRequest = 1000,
WidthRequest = 2000,
}
};
Content = frPatientInfo;
}
}
}