ModelMetadata.DisplayName Property

.NET Framework (current version)

Gets or sets the text to use in UI when the name of the model is displayed.

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

public virtual string DisplayName { get; set; }

Property Value

Type: System.String

The text to use as the name of the model.

.NET Framework
Available since 4.5
Return to top