maui-linux/Xamarin.Forms.Platform.GTK/IVisualElementRenderer.cs

23 строки
517 B
C#

using System;
using Container = Xamarin.Forms.Platform.GTK.GtkFormsContainer;
namespace Xamarin.Forms.Platform.GTK
{
public interface IVisualElementRenderer : IDisposable, IRegisterable
{
event EventHandler<VisualElementChangedEventArgs> ElementChanged;
VisualElement Element { get; }
Container Container { get; }
bool Disposed { get; }
void SetElement(VisualElement element);
SizeRequest GetDesiredSize(double widthConstraint, double heightConstraint);
void SetElementSize(Size size);
}
}