CascadingParameterAttribute Clase

Definición

Denota el miembro de destino como un parámetro de componente en cascada. El componente antecesor CascadingValue<TValue> más cercano proporcionará su valor que proporcione valores con un tipo y un nombre compatibles.

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
Herencia
CascadingParameterAttribute
Herencia
CascadingParameterAttribute
Atributos

Constructores

CascadingParameterAttribute()

Denota el miembro de destino como un parámetro de componente en cascada. El componente antecesor CascadingValue<TValue> más cercano proporcionará su valor que proporcione valores con un tipo y un nombre compatibles.

Propiedades

Name

Si se especifica, el antecesor CascadingValue<TValue> más cercano proporcionará el valor del parámetro que proporciona un valor con este nombre.

Si es null, el antecesor CascadingValue<TValue> más cercano proporcionará el valor del parámetro que proporciona un valor con un tipo compatible.

Se aplica a