зеркало из https://github.com/DeGsoft/maui-linux.git
20 строки
475 B
C#
20 строки
475 B
C#
using Xamarin.Forms;
|
|
using Xamarin.Forms.Controls;
|
|
using Xamarin.Forms.ControlGallery.Tizen;
|
|
using Xamarin.Forms.Platform.Tizen;
|
|
|
|
[assembly: ExportRenderer(typeof(DisposePage), typeof(DisposePageRenderer))]
|
|
namespace Xamarin.Forms.ControlGallery.Tizen
|
|
{
|
|
public class DisposePageRenderer : PageRenderer
|
|
{
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing)
|
|
{
|
|
((DisposePage)Element).SendRendererDisposed();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
}
|
|
} |