Exemplo n.º 1
0
 public override UIComponentBase Load(UILayoutTemplate template)
 {
     switch (template)
     {
     case UILayoutTemplate.Main:
         return(new MinimalLayout());
     }
     throw new NotImplementedException();
 }
Exemplo n.º 2
0
        public UIComponentBase Load(UILayoutTemplate template)
        {
            var provider = this.Provider;

            if (provider == null)
            {
                return(null);
            }
            return(provider.Load(template));
        }
Exemplo n.º 3
0
 public override UIComponentBase Load(UILayoutTemplate template)
 {
     switch (template)
     {
     case UILayoutTemplate.Main:
         var root = new UIComponentRoot();
         root.SetBinding(
             UIComponentPanel.ComponentProperty,
             new Binding()
         {
             Source = this,
             Path   = new PropertyPath("MainComponent")
         }
             );
         return(root);
     }
     throw new NotImplementedException();
 }
Exemplo n.º 4
0
 public abstract UIComponentBase Load(UILayoutTemplate template);