[]
Defines a builder to configurate Control.
public abstract class ControlBuilder<TControl, TBuilder> : ComponentBuilder<TControl, TBuilder>, IHtmlContent where TControl : Control where TBuilder : ControlBuilder<TControl, TBuilder>
Name | Description |
---|---|
TControl | |
TBuilder |
Name | Description |
---|---|
ControlBuilder(TControl) | Creates one ControlBuilder<TControl, TBuilder> instance to configurate |
Name | Description |
---|---|
CssClass(string) | Configurates CssClass. Sets the css class of the control. |
CssStyle(string, string) | Configurates CssStyles. Sets the CSS style applied in the control. |
CssStyles(IDictionary<string, string>) | Configurates CssStyles. Sets the CSS style applied in the control. |
Height(int) | Sets the height of the control in pixel. |
Height(string) | Configurates Height. Sets the height of the control. |
HtmlAttribute(string, string) | Configurates HtmlAttributes. Sets the HTML attributes. |
HtmlAttributes(IDictionary<string, object>) | Configurates HtmlAttributes. Sets the HTML attributes. |
HtmlAttributes(object) | Configurates HtmlAttributes. Sets the HTML attributes. |
Id(string) | Configurates Id. Sets the id of the control. |
IsDisabled(bool) | Configurates IsDisabled. Sets a value that determines whether the control is disabled. |
OnClientGotFocus(string) | Configurates the OnClientGotFocus client event. Occurs when the control gets the focus. |
OnClientLostFocus(string) | Configurates the OnClientLostFocus client event. Occurs when the control loses the focus. |
OnClientRefreshed(string) | Configurates the OnClientRefreshed client event. Occurs after the control has refreshed its contents. |
OnClientRefreshing(string) | Configurates the OnClientRefreshing client event. Occurs when the control is about to refresh its contents. |
TabOrder(int) | Configurates TabOrder. Sets a value of the tabindex attribute associated with the control. |
TemplateBind(string, string) | Configurates the TemplateBindings client event. Sets the collection of the template bindings. |
ToTemplate() | Transfer to the template mode. |
Width(int) | Sets the width of the control in pixel. |
Width(string) | Configurates Width. Sets the width of the control. |