ControllerContext.IsChildAction Property (System.Web.Mvc)

Switch View :
ScriptFree
.NET Framework Class Library
ControllerContext.IsChildAction Property

Gets a value that indicates whether the associated action method is a child action.

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

Visual Basic
Public Overridable ReadOnly Property IsChildAction As Boolean
	Get
C#
public virtual bool IsChildAction { get; }
Visual C++
public:
virtual property bool IsChildAction {
	bool get ();
}

Property Value

Type: System.Boolean
true if the associated action method is a child action; otherwise, false.
See Also

Reference