VisualExtensions.

GetVisualParent(IVisual) Method

Summary

Gets the visual parent of an IVisual.
Namespace
Avalonia.VisualTree
Containing Type
VisualExtensions

Syntax

public static IVisual GetVisualParent(this IVisual visual)

Parameters

Name Type Description
visual IVisual The visual.

Return Value

Type Description
IVisual The parent, or null if the visual is unparented.