Share via


TemplateInfo.FormattedModelValue Property

Definition

Gets or sets the formatted model value.

public:
 property System::Object ^ FormattedModelValue { System::Object ^ get(); void set(System::Object ^ value); };
public object FormattedModelValue { get; set; }
member this.FormattedModelValue : obj with get, set
Public Property FormattedModelValue As Object

Property Value

The formatted model value.

Remarks

Will never return null to avoid problems when using HTML helpers within a template. Otherwise the helpers could find elements in the `ViewDataDictionary`, not the intended Model properties.

Applies to