GetCssValue(Control, String) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets the CSS value for a property (Avalonia equivalent).

public static string? GetCssValue(Control element, string propertyName)

Parameters

element
Avalonia.Controls.Control

The element to query.

propertyName
String

The CSS property name.

Returns

String
The computed CSS value.