SupplyParameterFromFormAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |