Click or drag to resize
RecaptchaProperties Class
Represents properties of a RecaptchaComponent.
Inheritance Hierarchy
SystemObject
  Kentico.Forms.Web.MvcFormComponentProperties
    Kentico.Forms.Web.MvcFormComponentPropertiesString
      Kentico.Forms.Web.MvcRecaptchaProperties

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public class RecaptchaProperties : FormComponentProperties<string>

The RecaptchaProperties type exposes the following members.

Constructors
  NameDescription
Public methodRecaptchaProperties
Initializes a new instance of the RecaptchaProperties class.
Top
Fields
  NameDescription
Public fieldStatic memberBOTTOM_LEFT
The bottom left badge position.
Public fieldStatic memberBOTTOM_RIGHT
The bottom right badge position.
Public fieldStatic memberINLINE
The inline badge position.
Public fieldStatic memberRECAPTCHA_V2
reCAPTCHA v2
Public fieldStatic memberRECAPTCHA_V3
reCAPTCHA v3
Top
Properties
  NameDescription
Public propertyBadge
Represents the position of the Protected by reCAPTCHA badge rendered on the page.
Public propertyDataType
Gets or sets the underlying field data type.
(Inherited from FormComponentProperties.)
Public propertyDefaultValue
Gets or sets the default value of the form component and underlying field.
(Overrides FormComponentPropertiesTValueDefaultValue.)
Public propertyExplanationText
Gets or sets the explanation text of the form component.
(Inherited from FormComponentProperties.)
Public propertyGuid
Gets or sets the underlying field GUID.
(Inherited from FormComponentProperties.)
Public propertyLabel
Gets or sets the label of the form component. Hidden for "invisible" recaptcha v3.
(Overrides FormComponentPropertiesLabel.)
Public propertyLayout
Represents the layout of the component (normal or compact).
Public propertyName
Gets or sets the underlying field name.
(Inherited from FormComponentProperties.)
Public propertyPlaceholder
Gets or sets the value displayed as placeholder in the input. Override and annotate with EditingComponentAttribute to make this property editable in properties panel.
(Inherited from FormComponentProperties.)
Public propertyPrecision
Gets or sets the underlying field precision.
(Inherited from FormComponentProperties.)
Public propertyRequired
Gets or sets value indicating whether the underlying field is required. False by default. If false, the form component's implementation must accept nullable input.
(Overrides FormComponentPropertiesRequired.)
Public propertySize
Gets or sets the underlying field size.
(Inherited from FormComponentProperties.)
Public propertySmartField
Gets or sets value indicating whether the underlying field is smart field. False by default.
(Overrides FormComponentPropertiesSmartField.)
Public propertyTheme
Represents the color theme of the component (light or dark).
Public propertyThreshold
Represents the reCAPTCHA v3 score threshold for when the form submission should be rejected.
Public propertyTooltip
Gets or sets the tooltip of the form component.
(Overrides FormComponentPropertiesTooltip.)
Public propertyType
Represents the type of the component (image or audio).
Public propertyValidationRuleConfigurations
Gets or sets validation rule configurations assigned to the form component.
(Inherited from FormComponentProperties.)
Public propertyVersion
Represents the version of reCAPTCHA for the component to use (v2 or v3).
Public propertyVisibilityConditionConfiguration
Gets or sets visibility condition configuration assigned to the form component.
(Inherited from FormComponentProperties.)
Top
Methods
  NameDescription
Public methodGetDefaultValue
Gets the default value. The DefaultValue property can be used directly to obtain the typed default value.
(Inherited from FormComponentPropertiesTValue.)
Public methodSetDefaultValue
Sets the default value to value. The value must be of type TValue or an exception is thrown. The DefaultValue property can be used directly to set the typed default value.
(Inherited from FormComponentPropertiesTValue.)
Top
See Also