CascadingParameterAttribute Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menunjukkan anggota target sebagai parameter komponen berskala. Nilainya akan disediakan oleh komponen leluhur CascadingValue<TValue> terdekat yang memasok nilai dengan jenis dan nama yang kompatibel.
public ref class CascadingParameterAttribute sealed : 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)]
public sealed class CascadingParameterAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type CascadingParameterAttribute = class
inherit CascadingParameterAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type CascadingParameterAttribute = class
inherit Attribute
Public NotInheritable Class CascadingParameterAttribute
Inherits CascadingParameterAttributeBase
Public NotInheritable Class CascadingParameterAttribute
Inherits Attribute
- Warisan
- Warisan
-
CascadingParameterAttribute
- Atribut
Konstruktor
| CascadingParameterAttribute() |
Menunjukkan anggota target sebagai parameter komponen berskala. Nilainya akan disediakan oleh komponen leluhur CascadingValue<TValue> terdekat yang memasok nilai dengan jenis dan nama yang kompatibel. |
Properti
| Name |
Jika ditentukan, nilai parameter akan disediakan oleh leluhur CascadingValue<TValue> terdekat yang memasok nilai dengan nama ini. Jika null, nilai parameter akan disediakan oleh leluhur CascadingValue<TValue> terdekat yang menyediakan nilai dengan jenis yang kompatibel. |