Share via


ElementReference Struct

Definition

Represents a reference to a rendered element.

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

Constructors

Name Description
ElementReference(String, ElementReferenceContext)

Instantiates a new ElementReference.

ElementReference(String)

Instantiates a new ElementReference.

Properties

Name Description
Context

Gets the ElementReferenceContext instance.

Id

Gets a unique identifier for ElementReference.

Extension Methods

Name Description
FocusAsync(ElementReference, Boolean)

Gives focus to an element given its ElementReference.

FocusAsync(ElementReference)

Gives focus to an element given its ElementReference.

Applies to