Summary
Tests whether an
IVisual
is an ancestor of another visual.
- Namespace
- Avalonia
.VisualTree - Containing Type
- VisualExtensions
Syntax
public static bool IsVisualAncestorOf(this IVisual visual, IVisual target)
Parameters
Return Value
Type | Description |
---|---|
bool | True if visual is an ancestor of target; otherwise false. |