Share via


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

public virtual bool IsChildAction { get; }
public:
property bool IsChildAction {
    virtual bool get();
}
abstract IsChildAction : bool with get
override IsChildAction : bool with get
Public Overridable ReadOnly Property IsChildAction As Boolean

Property Value

Type: System.Boolean

true if the associated action method is a child action; otherwise, false.

See Also

ControllerContext Class
System.Web.Mvc Namespace

Return to top