1. CheckboxField

Class CheckboxField

Version: 21.x

Represents a checkbox field.

Inheritance
System.Object
Field<System.Boolean>
EditableField<System.Boolean>
CheckboxField
Implements
IValueField<System.Boolean>
Namespace: Sitecore.LayoutService.Client.Response.Model.Fields
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
public class CheckboxField : EditableField<bool>, IFieldReader, IValueField<bool>, IEditableField, IField

Constructors

CheckboxField()

Initializes a new instance of the CheckboxField class.

Declaration
public CheckboxField()

CheckboxField(Boolean)

Initializes a new instance of the CheckboxField class.

Declaration
public CheckboxField(bool value)
Parameters
TypeNameDescription
System.Booleanvalue

The initial value.

Implements

If you have suggestions for improving this article, let us know!