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)

abstract IsChildAction : bool 
override IsChildAction : bool

Property Value

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