Click or drag to resize

VisualComponentComponent Method (Visual, VisualComponentComponentType)

Returns the component root for this visual, or null if it's not part of a component of the given component type.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 10.0.0.6737
Syntax
C#
public static Visual Component(
	Visual visual,
	VisualComponentComponentType componentType
)

Parameters

visual
Type: Demo3D.VisualsVisual
The visual to inspect.
componentType
Type: Demo3D.VisualsVisualComponentComponentType
The component type.

Return Value

Type: Visual
The component root, or null if this visual is not a part of the component type.
See Also