Get the parent of a given Dependency Object

Namespace: Ico.Windows.Media.Media3D
Assembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public static Visual3D GetVisualParent(
	DependencyObject o,
	ref Matrix3D tranformToParentVisual
)
Visual Basic
Public Shared Function GetVisualParent ( _
	o As DependencyObject, _
	ByRef tranformToParentVisual As Matrix3D _
) As Visual3D
JScript
public static function GetVisualParent(
	o : DependencyObject, 
	tranformToParentVisual : Matrix3D
) : Visual3D

Parameters

o
Type: System.Windows..::..DependencyObject
the DependencyObject to analyze
tranformToParentVisual
Type: System.Windows.Media.Media3D..::..Matrix3D%
represents the transform to the parent visual object

Return Value

the Visual3D that represent the parent of the given object, or null

See Also