ModelMetadata.NullDisplayText Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the string that should be displayed when the model is null.

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

public virtual string NullDisplayText { get; set; }

Property Value

Type: System.String

The string to display when the model is null.

.NET Framework
Available since 4.5
Return to top