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
RequestResponse
public class CheckboxField : EditableField<bool>, IFieldReader, IValueField<bool>, IEditableField, IField

Constructors

CheckboxField()

Initializes a new instance of the CheckboxField class.

Declaration
RequestResponse
public CheckboxField()

CheckboxField(Boolean)

Initializes a new instance of the CheckboxField class.

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

The initial value.

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,