Summary
Tries to get the first common ancestor of two visuals.
- Namespace
- Avalonia
.VisualTree - Containing Type
- VisualExtensions
Syntax
public static IVisual FindCommonVisualAncestor(this IVisual visual, IVisual target)
Parameters
Return Value
Type | Description |
---|---|
IVisual | The common ancestor, or null if not found. |