FormComponentPropertiesTValue Constructor |
Initializes a new instance of the
FormComponentPropertiesTValue class using the data type, size and precision given.
Specifying the
size and
precision is optional and depends on whether the
dataType
requires them.
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax protected FormComponentProperties(
string dataType,
int size = -1,
int precision = -1
)
Parameters
- dataType
- Type: SystemString
Default data type of values (typically a constant from FieldDataType). - size (Optional)
- Type: SystemInt32
Default size of values. - precision (Optional)
- Type: SystemInt32
Default precision of values.
See Also