ModelMetadata.ShowForDisplay Property

Definition

Gets or sets a value that indicates whether the property should be displayed in read-only views such as list and detail views.

public virtual bool ShowForDisplay { get; set; }
member this.ShowForDisplay : bool with get, set
Public Overridable Property ShowForDisplay As Boolean

Property Value

true if the model should be displayed in read-only views; otherwise, false.

Applies to