HtmlInputCheckbox Object— <input type=”checkbox”> Element

This creates a box that users can click to turn on and off. Table D.8 lists the properties of the HtmlInputCheckbox object, Table D.9 lists the method, and Table D.10 lists the event.

Table D.8. Properties of the HtmlInputCheckbox Object
Property Description
ID Gets or sets the ID (identifier) of the HtmlInputCheckbox control.
Checked Gets or sets a value indicating whether the checkbox has been selected (Boolean value).
Disabled Gets or sets a value that indicates whether the Disabled attribute is included when an HTML control is rendered on the browser. Including this attribute makes the control read-only.
Visible Gets or sets a value that indicates whether a control should be rendered ...

Get Inside ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.