net9.0
namespace Microsoft.AspNetCore.Mvc.TagHelpers
{
    [HtmlTargetElement("button", Attributes = "asp-action")]
    [HtmlTargetElement("button", Attributes = "asp-controller")]
    [HtmlTargetElement("button", Attributes = "asp-area")]
    [HtmlTargetElement("button", Attributes = "asp-page")]
    [HtmlTargetElement("button", Attributes = "asp-page-handler")]
    [HtmlTargetElement("button", Attributes = "asp-fragment")]
    [HtmlTargetElement("button", Attributes = "asp-route")]
    [HtmlTargetElement("button", Attributes = "asp-all-route-data")]
    [HtmlTargetElement("button", Attributes = "asp-route-*")]
    [HtmlTargetElement("input", Attributes = "[type=image], asp-action", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=image], asp-controller", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=image], asp-area", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=image], asp-page", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=image], asp-page-handler", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=image], asp-fragment", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=image], asp-route", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=image], asp-all-route-data", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=image], asp-route-*", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=submit], asp-action", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=submit], asp-controller", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=submit], asp-area", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=submit], asp-page", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=submit], asp-page-handler", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=submit], asp-fragment", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=submit], asp-route", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=submit], asp-all-route-data", TagStructure = TagStructure.WithoutEndTag)]
    [HtmlTargetElement("input", Attributes = "[type=submit], asp-route-*", TagStructure = TagStructure.WithoutEndTag)]
    public class FormActionTagHelper : TagHelper
    {
        [HtmlAttributeName("asp-page")]
        public string Page { get; set; }
    }
}
nuget.org
0.0 %
Reference this API
0.0 %
Get property
0.0 %
Set property
.NET 5.06.07.08.09.0
.NET Core 2.02.12.23.03.1
Information specific to net9.0
Assembly

Microsoft.AspNetCore.Mvc.TagHelpers , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60

Referencing

Requires any:

  • Your project needs to use SDK Microsoft.NET.Sdk.Web.

  • Your project needs a framework reference to Microsoft.AspNetCore.App.

Platform Restrictions

The property getter is supported on all platforms.

The property setter is supported on all platforms.

  • Built-in API
  • Package-provided API

11/04/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙