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

            if (provider == null)
            {
                return(null);
            }
            return(provider.Load(template));
        }
예제 #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();
 }
예제 #4
0
 public abstract UIComponentBase Load(UILayoutTemplate template);