FormComponentModifyMetadata Method |
Modifies modelMetadata according to the current object.
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax public void ModifyMetadata(
ModelMetadata modelMetadata
)
Parameters
- modelMetadata
- Type: ModelMetadata
Metadata to modify.
Remarks
Sets display names for properties annotated by
BindablePropertyAttribute according to
Label.
If property is annotated with
DisplayAttribute then the value of the attribute is used.
See Also