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

Constructores

CascadingParameterAttribute()

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