This topic has not yet been rated - Rate this topic

ViewDataDictionary.TemplateInfo Property

Gets or sets an object that encapsulates information about the current template context.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public TemplateInfo TemplateInfo { get; set; }

Property Value

Type: System.Web.Mvc.TemplateInfo
An object that contains information about the current template.

A TemplateInfo object contains information about the template context, such as the model type, a HTML field prefix, and the formatted model value.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.