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

23 lines
487 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);
void SetControlSize (Size size);
}
}