VisualComponentVisualComponentModelFind Method |
Find all the component roots for this visual.
If filterTypes is null or empty, we return all component roots for the visual.
If filterTypes is set, then we may return only the component roots for the given types.
Even if filterTypes is set, we may return roots for other component types too - filterTypes is just a hint.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 10.0.0.6737
Syntaxpublic abstract IEnumerable<VisualComponentRootPointer> Find(
Visual visual,
IList<VisualComponentComponentType> filterTypes
)
Parameters
- visual
- Type: Demo3D.VisualsVisual
The visual to inspect. - filterTypes
- Type: System.Collections.GenericIListVisualComponentComponentType
List of component types to return, or null to return all component roots.
Return Value
Type:
IEnumerableVisualComponentRootPointerA list of the component roots of all the components to which this visual belongs.
See Also