Lingua

PersistentStateAttribute Classe

Definizione

Indica che il valore per il parametro potrebbe provenire dallo stato del componente persistente da un rendering precedente.

[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class PersistentStateAttribute : Microsoft.AspNetCore.Components.CascadingParameterAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type PersistentStateAttribute = class
    inherit CascadingParameterAttributeBase
Public NotInheritable Class PersistentStateAttribute
Inherits CascadingParameterAttributeBase
Ereditarietà
PersistentStateAttribute
Attributi

Costruttori

Nome Descrizione
PersistentStateAttribute()

Indica che il valore per il parametro potrebbe provenire dallo stato del componente persistente da un rendering precedente.

Proprietà

Nome Descrizione
AllowUpdates

Ottiene o imposta un valore che indica se il componente desidera ricevere aggiornamenti al parametro oltre il valore iniziale specificato durante l'inizializzazione quando gli aggiornamenti vengono forniti durante la navigazione avanzata.

RestoreBehavior

Ottiene o imposta il comportamento da utilizzare per il ripristino dei dati.

Si applica a