HtmlInputCheckBox Constructor ()

 

Initializes a new instance of the HtmlInputCheckBox class.

Namespace:   System.Web.UI.HtmlControls
Assembly:  System.Web (in System.Web.dll)

public:
HtmlInputCheckBox()

Use this constructor to create and initialize a new instance of the HtmlInputCheckBox class.

The following table shows the initial property value for an instance of HtmlInputCheckBox.

Property

Initial Value

TagName

The "checkbox" literal string.

The following code example demonstrates how to create and initialize a new instance of the HtmlInputCheckBox class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: