Click or drag to resize

VisualIsAncestorOf Method

Is this Visual a parent, grandparent, great grandparent etc. of the potentialChild.

Namespace: Demo3D.Visuals
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public bool IsAncestorOf(
	Visual potentialChild
)

Parameters

potentialChild  Visual
The potential child visual for this visual.

Return Value

Boolean
true if potentialChild is a Descendant of this Visual.
See Also