Renderer.GetComponentState Method

Definition

Overloads

GetComponentState(IComponent)

Resolves the component state for a given IComponent instance.

GetComponentState(Int32)

Gets the ComponentState associated with the specified component.

GetComponentState(IComponent)

Source:
Renderer.cs
Source:
Renderer.cs

Resolves the component state for a given IComponent instance.

protected internal Microsoft.AspNetCore.Components.Rendering.ComponentState GetComponentState (Microsoft.AspNetCore.Components.IComponent component);
member this.GetComponentState : Microsoft.AspNetCore.Components.IComponent -> Microsoft.AspNetCore.Components.Rendering.ComponentState
Protected Friend Function GetComponentState (component As IComponent) As ComponentState

Parameters

component
IComponent

The IComponent instance

Returns

Applies to

GetComponentState(Int32)

Source:
Renderer.cs
Source:
Renderer.cs

Gets the ComponentState associated with the specified component.

protected Microsoft.AspNetCore.Components.Rendering.ComponentState GetComponentState (int componentId);
member this.GetComponentState : int -> Microsoft.AspNetCore.Components.Rendering.ComponentState
Protected Function GetComponentState (componentId As Integer) As ComponentState

Parameters

componentId
Int32

The component ID

Returns

The corresponding ComponentState.

Applies to