[]
        
(Showing Draft Content)

C1.Web.Mvc.Control.-ctor

Control Constructor

Control(IHtmlHelper, string)

Creates one Control instance by using the specified HtmlHelper object and selector.

Declaration
protected Control(IHtmlHelper helper, string selector = null)
Protected Sub New(helper As IHtmlHelper, Optional selector As String = Nothing)
Parameters
Type Name Description
IHtmlHelper helper

The html helper.

string selector

The selector used to match the dom elements which the control is attached to.