VisualTreeHelperGetParent Method |
Returns an object's parent object in the visual tree.
Namespace: Windows.UI.Xaml.MediaAssembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax public static DependencyObject GetParent(
UIElement reference
)
Parameters
- reference
- Type: Windows.UI.XamlUIElement
The object for which to get the parent object.
Return Value
Type:
DependencyObjectThe parent object of the reference object in the visual tree.
See Also