[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.ControlTagHelper-1

ControlTagHelper<TControl> Class

ITagHelper implementation for Control.

Namespace: C1.Web.Mvc.TagHelpers
Assembly: C1.AspNetCore.Mvc.dll
Syntax
public abstract class ControlTagHelper<TControl> : ComponentTagHelper<TControl>, ITagHelper, ITagHelperComponent, ITemplateTagHelper where TControl : Control
Type Parameters
Name Description
TControl

Constructors

Name Description
ControlTagHelper()

Properties

Name Description
CssClass

Configurates CssClass. Sets the css class of the control.

CssStyle
GotFocus

Configurates the OnClientGotFocus client event. Occurs when the control gets the focus.

Height

Configurates Height. Sets the height of the control.

Id

Configurates Id. Sets the control id.

IsDisabled

Configurates IsDisabled. Sets a value that determines whether the control is disabled.

IsTemplate

Configurates IsTemplate. Sets a boolean value which indicates whether transfer this control to template mode.

LostFocus

Configurates the OnClientLostFocus client event. Occurs when the control loses the focus.

Refreshed

Configurates the OnClientRefreshed client event. Occurs after the control has refreshed its contents.

Refreshing

Configurates the OnClientRefreshing client event. Occurs when the control is about to refresh its contents.

TabOrder

Configurates TabOrder. Sets a value of the tabindex attribute associated with the control.

TemplateBindings

Configurates TemplateBindings. Sets the collection of the template bindings.

Width

Configurates Width. Sets the width of the control.

Methods

Name Description
Render(TagHelperOutput)

Render the startup scripts.

UpdateMarkup(TagHelperOutput)

Update the markup's attributes according to the attributes set in the taghelper.