Compartilhar via


ControllerContext.ParentActionViewContext Property

Gets an object that contains the view context information for the parent action method.

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

Syntax

'Declaration
Public ReadOnly Property ParentActionViewContext As ViewContext
    Get
public ViewContext ParentActionViewContext { get; }
public:
property ViewContext^ ParentActionViewContext {
    ViewContext^ get ();
}

Property Value

Type: System.Web.Mvc.ViewContext
An object that contains the view context information for the parent action method.

See Also

Reference

ControllerContext Class

System.Web.Mvc Namespace