ModelMetadata.HideSurroundingHtml Property

Definition

Gets a value indicating whether the "HiddenInput" display template should return string.Empty (not the expression value) and whether the "HiddenInput" editor template should not also return the expression value (together with the hidden <input> element).

public:
 abstract property bool HideSurroundingHtml { bool get(); };
public abstract bool HideSurroundingHtml { get; }
member this.HideSurroundingHtml : bool
Public MustOverride ReadOnly Property HideSurroundingHtml As Boolean

Property Value

Remarks

If true, also causes the default Object display and editor templates to return HTML lacking the usual per-property <div> wrapper around the associated property. Thus the default Object display template effectively skips the property and the default Object editor template returns only the hidden <input> element for the property.

Applies to