WebRenderer.RendererId Property
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.
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.