Click or drag to resize
FormComponentPropertiesTValueSetDefaultValue Method
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.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public override void SetDefaultValue(
	Object value
)

Parameters

value
Type: SystemObject
Value to be set as the default value.
See Also