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