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: 15.0.2.11458
Syntax
C#
public bool IsAncestorOf(
	Visual potentialChild
)

Parameters

potentialChild
Type: Demo3D.VisualsVisual
The potential child visual for this visual.

Return Value

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