summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WP8/IVisualElementRenderer.cs
blob: c4e097cb6136417ba74a66fde027e03892563c49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
´╗┐using System;
using System.Windows;

namespace Xamarin.Forms.Platform.WinPhone
{
	public interface IVisualElementRenderer : IRegisterable
	{
		UIElement ContainerElement { get; }

		VisualElement Element { get; }

		event EventHandler<VisualElementChangedEventArgs> ElementChanged;

		SizeRequest GetDesiredSize(double widthConstraint, double heightConstraint);

		void SetElement(VisualElement element);
	}
}