ModelMetadata.DisplayFormatString Property

.NET Framework (current version)

Gets or sets a format string that should be applied when the model is displayed in display mode (as opposed to in edit mode).

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

public virtual string DisplayFormatString { get; set; }

Property Value

Type: System.String

The format string.

.NET Framework
Available since 4.5
Return to top