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

20 строки
461 B
C#

using System;
using Windows.UI.Xaml;
namespace Xamarin.Forms.Platform.UWP
{
public interface IVisualElementRenderer : IRegisterable, IDisposable
{
FrameworkElement ContainerElement { get; }
VisualElement Element { get; }
event EventHandler<VisualElementChangedEventArgs> ElementChanged;
SizeRequest GetDesiredSize(double widthConstraint, double heightConstraint);
void SetElement(VisualElement element);
UIElement GetNativeElement();
}
}