VisualFindAncestorsAspectT Method |
Find the first aspect of type T on one of the visuals ancestors (parent, grand-parent, etc.).
Namespace: Demo3D.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic T FindAncestorsAspect<T>()
where T : class
Type Parameters
- T
- The aspect type to look for.
Return Value
TThe first instance of aspect of type T in the hierarchy above this visual, or null if not found.
See Also