CascadingParameterAttribute Class

Definition

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)>]
type CascadingParameterAttribute = class
    inherit Attribute
Public NotInheritable Class CascadingParameterAttribute
Inherits Attribute
Inheritance
CascadingParameterAttribute
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.

Applies to