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

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.

Methods

DispatchExceptionAsync(Exception)

Dispatches an Exception to the Renderer.

Render(RenderFragment)

Notifies the renderer that the component should be rendered.

Applies to