PersistentStateAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates that the value for the parameter might come from persistent component state from a previous render.
[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
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| PersistentStateAttribute() | |
Properties
| Name | Description |
|---|---|
| AllowUpdates |
Gets or sets a value whether the component wants to receive updates to the parameter beyond the initial value provided during initialization. |
| RestoreBehavior |
Gets or sets the behavior to use when restoring data. |