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

23 lines
487 B
C#
Raw Normal View History

2017-11-09 07:57:04 +00:00
using System;
using Xamarin.Forms;
namespace Ooui.Forms
{
public interface IVisualElementRenderer : IRegisterable, IDisposable
{
2017-11-09 09:38:19 +00:00
event EventHandler<VisualElementChangedEventArgs> ElementChanged;
VisualElement Element { get; }
Ooui.Element NativeView { get; }
void SetElement (VisualElement element);
void SetElementSize (Size size);
2017-11-10 01:23:41 +00:00
SizeRequest GetDesiredSize (double widthConstraint, double heightConstraint);
2017-11-10 02:12:02 +00:00
void SetControlSize (Size size);
2017-11-09 07:57:04 +00:00
}
}