Share via


RenderHandle Struct

Definition

Allows a component to interact with its renderer.

public value class RenderHandle
public readonly struct RenderHandle
type RenderHandle = struct
Public Structure RenderHandle
Inheritance
RenderHandle

Properties

Assets

Gets the ResourceAssetCollection associated with the Renderer.

Dispatcher

Gets the Dispatcher associated with the component.

IsInitialized

Gets a value that indicates whether the RenderHandle has been initialized and is ready to use.

IsRenderingOnMetadataUpdate

Gets a value that determines if the Renderer is triggering a render in response to a metadata update (hot-reload) change.

RendererInfo

Gets the RendererInfo the component is running on.

RenderMode

Retrieves the IComponentRenderMode assigned to the component.

Methods

DispatchExceptionAsync(Exception)

Dispatches an Exception to the Renderer.

Render(RenderFragment)

Notifies the renderer that the component should be rendered.

Applies to