Ooui-tws-port/Ooui.Forms/IVisualElementRenderer.cs

21 lines
445 B
C#

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