.NET Framework Class Library
ControllerContext.Controller Property
Gets or sets the controller.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
Visual Basic
Public Overridable Property Controller As ControllerBase Get Set
C#
public virtual ControllerBase Controller { get; set; }
Visual C++
public: virtual property ControllerBase^ Controller { ControllerBase^ get (); void set (ControllerBase^ value); }
See Also