diff options
Diffstat (limited to 'Xamarin.Forms.Platform.WP8/IVisualElementRenderer.cs')
-rw-r--r-- | Xamarin.Forms.Platform.WP8/IVisualElementRenderer.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.WP8/IVisualElementRenderer.cs b/Xamarin.Forms.Platform.WP8/IVisualElementRenderer.cs new file mode 100644 index 00000000..c4e097cb --- /dev/null +++ b/Xamarin.Forms.Platform.WP8/IVisualElementRenderer.cs @@ -0,0 +1,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); + } +}
\ No newline at end of file |