Click or drag to resize
VisualTreeHelperGetParent Method
Returns an object's parent object in the visual tree.

Namespace: Windows.UI.Xaml.Media
Assembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax
C#
public static DependencyObject GetParent(
	UIElement reference
)

Parameters

reference
Type: Windows.UI.XamlUIElement
The object for which to get the parent object.

Return Value

Type: DependencyObject
The parent object of the reference object in the visual tree.
See Also