ComponentState Class

Definition

Tracks the rendering state associated with an IComponent instance within the context of a Microsoft.AspNetCore.Components.Rendering.ComponentState.Renderer. This is an internal implementation detail of Microsoft.AspNetCore.Components.Rendering.ComponentState.Renderer.

C#
public class ComponentState : IAsyncDisposable
Inheritance
ComponentState
Implements

Constructors

Properties

Component

Gets the component instance.

ComponentId

Gets the component ID.

LogicalParentComponentState

Gets the ComponentState of the logical parent component, or null if this is a root component.

ParentComponentState

Gets the ComponentState of the parent component, or null if this is a root component.

Methods

DisposeAsync()

Disposes this instance and its associated component.

Applies to

Tuote Versiot
ASP.NET Core 8.0, 9.0