ModelMetadata.NullDisplayText Property

 

Gets or sets the string to display for null values.

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

Syntax

public virtual string NullDisplayText { get; set; }
public:
property String^ NullDisplayText {
    virtual String^ get();
    virtual void set(String^ value);
}
abstract NullDisplayText : string with get, set
override NullDisplayText : string with get, set
Public Overridable Property NullDisplayText As String

Property Value

Type: System.String

The string to display for null values.

See Also

ModelMetadata Class
System.Web.Mvc Namespace

Return to top