protected UIComponent() { Children = new List<UIComponent>(); Attributes = new UIComponentAttributeProvider(this); Css = new UIComponentCssProvider(this); }
protected UIComponent() { Controls = new UIComponentChildrenList <TOwner>(this); Attributes = new UIComponentAttributeProvider <TOwner>() { Component = this }; Css = new UIComponentCssProvider <TOwner>() { Component = this }; Triggers = new UIComponentTriggerSet <TOwner>(this); }
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); }
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); }