Click or drag to resize

VisualFindParent Method (Type)

Go back up through the parents of visuals to find a particular parent type.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public Visual FindParent(
	Type type
)

Parameters

type
Type: SystemType
The type of the parent to search for.

Return Value

Type: Visual
The first parent of the supplied type, or null if no ancestor of that type is found.
See Also