Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AjaxHelper.ViewContext Property


Gets the context information about the view.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public ViewContext ViewContext { get; private set; }

Property Value

Type: System.Web.Mvc.ViewContext

The context of the view.

The ViewContext object contains information that is related to rendering a view, including the view's ViewData and TempData dictionaries.

Return to top
© 2015 Microsoft