Class ViewDataInfo
Encapsulates information about the current template content that is used to develop templates and about HTML helpers that interact with templates.
public class ViewDataInfo
- Inheritance
-
ViewDataInfo
- Inherited Members
Constructors
ViewDataInfo()
Initializes a new instance of the ViewDataInfo class.
public ViewDataInfo()
ViewDataInfo(Func<object>)
Initializes a new instance of the T:System.Web.Mvc.ViewDataInfo class and associates a delegate for accessing the view data information.
public ViewDataInfo(Func<object> valueAccessor)
Parameters
Properties
Container
Gets or sets the object that contains the values to be displayed by the template.
public object Container { get; set; }
Property Value
- object
The object that contains the values to be displayed by the template.
PropertyDescriptor
Gets or sets the description of the property to be displayed by the template.
public PropertyDescriptor PropertyDescriptor { get; set; }
Property Value
- PropertyDescriptor
The description of the property to be displayed by the template.
Value
Gets or sets the current value to be displayed by the template.
public object Value { get; set; }
Property Value
- object
The current value to be displayed by the template.