ComponentState(Renderer, Int32, IComponent, ComponentState) Constructor
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.
Constructs an instance of ComponentState.
public ComponentState (Microsoft.AspNetCore.Components.RenderTree.Renderer renderer, int componentId, Microsoft.AspNetCore.Components.IComponent component, Microsoft.AspNetCore.Components.Rendering.ComponentState? parentComponentState);
new Microsoft.AspNetCore.Components.Rendering.ComponentState : Microsoft.AspNetCore.Components.RenderTree.Renderer * int * Microsoft.AspNetCore.Components.IComponent * Microsoft.AspNetCore.Components.Rendering.ComponentState -> Microsoft.AspNetCore.Components.Rendering.ComponentState
Public Sub New (renderer As Renderer, componentId As Integer, component As IComponent, parentComponentState As ComponentState)
Parameters
- renderer
- Renderer
The Microsoft.AspNetCore.Components.Rendering.ComponentState.Renderer with which the new instance should be associated.
- componentId
- Int32
The externally visible identifier for the IComponent. The identifier must be unique in the context of the Microsoft.AspNetCore.Components.Rendering.ComponentState.Renderer.
- component
- IComponent
The IComponent whose state is being tracked.
- parentComponentState
- ComponentState
The ComponentState for the parent component, or null if this is a root component.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for