.NET Framework Class Library
ControllerContext.IsChildAction Property
Gets a value that indicates whether the associated action method is a child action.
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.Booleantrue if the associated action method is a child action; otherwise, false.
See Also