DynamicComponent Class
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.
A component that renders another component dynamically according to its Type parameter.
public class DynamicComponent : Microsoft.AspNetCore.Components.IComponent
type DynamicComponent = class
interface IComponent
Public Class DynamicComponent
Implements IComponent
- Inheritance
-
DynamicComponent
- Implements
Dynamic |
Constructs an instance of DynamicComponent. |
Instance |
Gets rendered component instance. |
Parameters |
Gets or sets a dictionary of parameters to be passed to the component. |
Type |
Gets or sets the type of the component to be rendered. The supplied type must implement IComponent. |
Attach(Render |
Attaches the component to a RenderHandle. |
Set |
Sets parameters supplied by the component's parent in the render tree. |
Product | Versions |
---|---|
ASP.NET Core | 6.0, 7.0, 8.0, 9.0 |