MobileEssentials / DynamicForms

Makes Xamarin.Forms more dynamic, by allowing loading of XAML for views, and Json for bi-directionally bindable view models
MIT License
41 stars 23 forks source link

Load multiple nested object #4

Open polipo opened 8 years ago

polipo commented 8 years ago

If i try to load an object with one or plus nested object in it, the "LoadFromXaml" method crash.

For example :

        var grid = new Grid();

        var xamlGrid = @"<?xml version=""1.0"" encoding=""utf-8"" ?><Grid  xmlns=""http:=//xamarin.com/schemas/2014/forms""  xmlns:x=""http://schemas.microsoft.com/winfx/2009/xaml""  x:Name=""myGrid""><Image Grid.Row=""0"" Grid.Column=""0""/></Grid>";

        grid.LoadFromXaml(xamlGrid);