ViewContext Properties

 

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

NameDescription
System_CAPS_pubpropertyClientValidationEnabled

Gets or sets a value that indicates whether client-side validation is enabled.

System_CAPS_pubpropertyController

Gets or sets the controller.(Inherited from ControllerContext.)

System_CAPS_pubpropertyDisplayMode

Gets the display mode.(Inherited from ControllerContext.)

System_CAPS_pubpropertyFormContext

Gets or sets an object that encapsulates information that is required in order to validate and process the input data from an HTML form.

System_CAPS_pubpropertyHttpContext

Gets or sets the HTTP context.(Inherited from ControllerContext.)

System_CAPS_pubpropertyIsChildAction

Gets a value that indicates whether the associated action method is a child action.(Inherited from ControllerContext.)

System_CAPS_pubpropertyParentActionViewContext

Gets an object that contains the view context information for the parent action method.(Inherited from ControllerContext.)

System_CAPS_pubpropertyRequestContext

Gets or sets the request context.(Inherited from ControllerContext.)

System_CAPS_pubpropertyRouteData

Gets or sets the URL route data.(Inherited from ControllerContext.)

System_CAPS_pubpropertyTempData

Gets data that is associated with this request and that is available for only one request.

System_CAPS_pubpropertyUnobtrusiveJavaScriptEnabled

Gets or sets a value that indicates whether unobtrusive JavaScript is enabled.

System_CAPS_pubpropertyValidationMessageElement

Element name used to wrap a top-level message generated by ValidationMessage and other overloads.

System_CAPS_pubpropertyValidationSummaryMessageElement

Element name used to wrap a top-level message generated by ValidationSummary and other overloads.

System_CAPS_pubpropertyView

Gets an object that implements the IView interface to render in the browser.

System_CAPS_pubpropertyViewBag

Gets the dynamic view data dictionary.

System_CAPS_pubpropertyViewData

Gets the view data that is passed to the view.

System_CAPS_pubpropertyWriter

Gets or sets the text writer object that is used to write HTML output.

Return to top
Show: