GetAttributes(Control, String[]) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets multiple attributes from an element.

public static Dictionary<string, string?> GetAttributes(Control element, params string[] attributeNames)

Parameters

element
Avalonia.Controls.Control

The element to query.

attributeNames
String[]

The attribute names to get.

Returns

Dictionary<String, String?>
A dictionary of attribute names to values.