Läs på engelska

Dela via


ElementReference Struct

Definition

Represents a reference to a rendered element.

C#
public readonly struct ElementReference
Inheritance
ElementReference

Constructors

Properties

Context

Gets the ElementReferenceContext instance.

Id

Gets a unique identifier for ElementReference.

Extension Methods

FocusAsync(ElementReference, Boolean)

Gives focus to an element given its ElementReference.

FocusAsync(ElementReference)

Gives focus to an element given its ElementReference.

Applies to

Produkt Versioner
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0