Click or drag to resize

VisualComponentIsComponentRoot Method (Visual, VisualComponentComponentType)

Returns true if this visual is the root of its component.

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

Parameters

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

Return Value

Type: Boolean
True if the visual is a component root of the component type.
See Also