WebRenderer.RendererId Property

Definition

Caution

The renderer ID can be assigned by overriding 'GetWebRendererId'.

Gets the identifier for the renderer.

protected int RendererId { get; init; }
[set: System.Obsolete("The renderer ID can be assigned by overriding 'GetWebRendererId'.")]
protected int RendererId { get; init; }
member this.RendererId : int with get, set
[<set: System.Obsolete("The renderer ID can be assigned by overriding 'GetWebRendererId'.")>]
member this.RendererId : int with get, set
Protected Property RendererId As Integer

Property Value

Attributes

Remarks

Accessing RendererId before the renderer is attached will throw an InvalidOperationException. Call Microsoft.AspNetCore.Components.RenderTree.WebRenderer.WaitUntilAttachedAsync to wait until the renderer gets attached to the browser.

Applies to