Click or drag to resize

VisualFindAncestorsAspectT Method

Find the first aspect of type T on one of the visuals ancestors (parent, grand-parent, etc.).

Namespace: Demo3D.Visuals
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public T FindAncestorsAspect<T>()
where T : class

Type Parameters

T
The aspect type to look for.

Return Value

T
The first instance of aspect of type T in the hierarchy above this visual, or null if not found.
See Also