CascadingParameterAttribute 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.
Denotes the target member as a cascading component parameter. Its value will be supplied by the closest ancestor CascadingValue<TValue> component that supplies values with a compatible type and name.
public ref class CascadingParameterAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class CascadingParameterAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class CascadingParameterAttribute : Microsoft.AspNetCore.Components.CascadingParameterAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type CascadingParameterAttribute = class
inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type CascadingParameterAttribute = class
inherit CascadingParameterAttributeBase
Public NotInheritable Class CascadingParameterAttribute
Inherits Attribute
Public NotInheritable Class CascadingParameterAttribute
Inherits CascadingParameterAttributeBase
- Inheritance
-
CascadingParameterAttribute
- Inheritance
- Attributes
Constructors
CascadingParameterAttribute() |
Properties
Name |
If specified, the parameter value will be supplied by the closest ancestor CascadingValue<TValue> that supplies a value with this name. If null, the parameter value will be supplied by the closest ancestor CascadingValue<TValue> that supplies a value with a compatible type. |