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

ElementReference(String, ElementReferenceContext)

Instantiates a new ElementReference.

ElementReference(String)

Instantiates a new ElementReference.

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