CascadingParameterAttribute Classe

Definição

Denota o membro de destino como um parâmetro de componente em cascata. Seu valor será fornecido pelo componente ancestral CascadingValue<TValue> mais próximo que fornece valores com um tipo e um nome compatíveis.

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
Herança
CascadingParameterAttribute
Herança
CascadingParameterAttribute
Atributos

Construtores

CascadingParameterAttribute()

Denota o membro de destino como um parâmetro de componente em cascata. Seu valor será fornecido pelo componente ancestral CascadingValue<TValue> mais próximo que fornece valores com um tipo e um nome compatíveis.

Propriedades

Name

Se especificado, o valor do parâmetro será fornecido pelo ancestral CascadingValue<TValue> mais próximo que fornece um valor com esse nome.

Se for nulo, o valor do parâmetro será fornecido pelo ancestral CascadingValue<TValue> mais próximo que fornece um valor com um tipo compatível.

Aplica-se a