Exemple #1
0
 private void SetSource(string value)
 {
     try
     {
         var flacidLayout = (Layout)XamlLoader.Load(ReadMixin.ReadText(value));
         new TemplateInflator().Inflate(flacidLayout, ControlTemplates);
         Layout             = flacidLayout;
         Layout.DataContext = DataContext;
     }
     catch (Exception e)
     {
         Exception = e;
         this.SetNeedsDisplay();
     }
 }
Exemple #2
0
 private ResourceStore CreateContainer(string containerAsset)
 {
     return((ResourceStore)XamlLoader.Load(ReadMixin.ReadText(containerAsset)));
 }