Пример #1
0
        protected UIComponent()
        {
            Children = new List<UIComponent>();

            Attributes = new UIComponentAttributeProvider(this);
            Css = new UIComponentCssProvider(this);
        }
Пример #2
0
 protected UIComponent()
 {
     Controls   = new UIComponentChildrenList <TOwner>(this);
     Attributes = new UIComponentAttributeProvider <TOwner>()
     {
         Component = this
     };
     Css = new UIComponentCssProvider <TOwner>()
     {
         Component = this
     };
     Triggers = new UIComponentTriggerSet <TOwner>(this);
 }
Пример #3
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);
 }
Пример #4
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);
 }