AvaloniaObjectExtensions.

GetDiagnostic(AvaloniaObject, AvaloniaProperty) Method

Summary

Gets a diagnostic for a AvaloniaProperty on a AvaloniaObject.

Syntax

public static AvaloniaPropertyValue GetDiagnostic(this AvaloniaObject o, AvaloniaProperty property)

Parameters

Name Type Description
o AvaloniaObject The object.
property AvaloniaProperty The property.

Return Value

Type Description
AvaloniaPropertyValue A AvaloniaPropertyValue that can be used to diagnose the state of the property on the object.