Click or drag to resize

VisualComponentComponentVisuals Method (Visual, VisualComponentSearchCriteria)

Returns all the visuals belonging to this component.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 10.0.0.6737
Syntax
C#
public static IEnumerable<Visual> ComponentVisuals(
	this Visual visual,
	VisualComponentSearchCriteria componentSearch
)

Parameters

visual
Type: Demo3D.VisualsVisual
The component to inspect.
componentSearch
Type: Demo3D.VisualsVisualComponentSearchCriteria
Component search criteria.

Return Value

Type: IEnumerableVisual
All the visuals belonging to this component (from this visual down).

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Visual. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also