Idioma

PersistentStateAttribute Classe

Definição

Indica que o valor do parâmetro pode vir do estado do componente persistente de uma renderização anterior.

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

Construtores

Nome Description
PersistentStateAttribute()

Indica que o valor do parâmetro pode vir do estado do componente persistente de uma renderização anterior.

Propriedades

Nome Description
AllowUpdates

Obtém ou define um valor que indica se o componente deseja receber atualizações para o parâmetro além do valor inicial fornecido durante a inicialização quando as atualizações são fornecidas durante a navegação aprimorada.

RestoreBehavior

Obtém ou define o comportamento a ser usado ao restaurar dados.

Aplica-se a