Click or drag to resize

VisualFindParent(Type) Method

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: 19.00.00
Syntax
C#
public Visual FindParent(
	Type type
)

Parameters

type  Type
The type of the parent to search for.

Return Value

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