TemplateInfo.FormattedModelValue Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.