AnchorTagHelper.Controller Property

Definition

The name of the controller.

public:
 property System::String ^ Controller { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("asp-controller")]
public string Controller { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("asp-controller")>]
member this.Controller : string with get, set
Public Property Controller As String

Property Value

String
Attributes

Remarks

Must be null if Route or Page is non-null.

Applies to