Ejemplo n.º 1
0
 protected UIComponent()
 {
     Controls   = new UIComponentChildrenList <TOwner>(this);
     Attributes = new UIComponentAttributeProvider <TOwner> {
         Component = this, ComponentPartName = "attributes"
     };
     Css = new UIComponentCssProvider <TOwner> {
         Component = this, ComponentPartName = "CSS"
     };
     Script            = new UIComponentScriptExecutor <TOwner>(this);
     ComponentLocation = new UIComponentLocationProvider <TOwner>(this, GetLocation);
     ComponentSize     = new UIComponentSizeProvider <TOwner>(this, GetSize);
     Triggers          = new UIComponentTriggerSet <TOwner>(this);
 }
Ejemplo n.º 2
0
 protected UIComponent()
 {
     Controls   = new UIComponentChildrenList <TOwner>(this);
     Attributes = new UIComponentAttributeProvider <TOwner> {
         Component = this, ComponentPartName = "attributes"
     };
     Css = new UIComponentCssProvider <TOwner> {
         Component = this, ComponentPartName = "CSS"
     };
     ComponentLocation = new UIComponentLocationProvider <TOwner> {
         Component = this, ComponentPartName = "location"
     };
     ComponentSize = new UIComponentSizeProvider <TOwner> {
         Component = this, ComponentPartName = "size"
     };
     Triggers = new UIComponentTriggerSet <TOwner>(this);
 }