Share via


SupplyParameterFromFormAttribute Class

Definition

Indicates that the value of the associated property should be supplied from the form data for the form with the specified name.

[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class SupplyParameterFromFormAttribute : Microsoft.AspNetCore.Components.CascadingParameterAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type SupplyParameterFromFormAttribute = class
    inherit CascadingParameterAttributeBase
Public NotInheritable Class SupplyParameterFromFormAttribute
Inherits CascadingParameterAttributeBase
Inheritance
SupplyParameterFromFormAttribute
Attributes

Constructors

SupplyParameterFromFormAttribute()

Properties

FormName

Gets or sets the name of the form that provides this value. If not specified, the value will be mapped from any incoming form post within the current form mapping scope. If specified, the value will only be mapped from a form with the specified name in the current mapping scope.

Name

Gets or sets the name of the form value. If not specified, the property name will be used.

Applies to