CachedModelMetadata<TPrototypeCache>.ComputeShowForDisplay Method

Definition

This method is protected and therefore cannot be called directly. This method was designed to be overridden in a deriving class such as CachedDataAnnotationsModelMetadata.Gets or sets a cached value that indicates whether the property should be displayed in read-only views such as list and detail views.

protected virtual bool ComputeShowForDisplay ();
abstract member ComputeShowForDisplay : unit -> bool
override this.ComputeShowForDisplay : unit -> bool
Protected Overridable Function ComputeShowForDisplay () As Boolean

Returns

A cached value that indicates whether the property should be displayed in read-only views such as list and detail views.

Applies to