FrameworkElementExtensions.SetAncestor(DependencyObject, Object) Method

Definition

Sets the parent object of the framework element (internal).

public static void SetAncestor (Windows.UI.Xaml.DependencyObject obj, object value);
static member SetAncestor : Windows.UI.Xaml.DependencyObject * obj -> unit
Public Sub SetAncestor (obj As DependencyObject, value As Object)

Parameters

obj
Windows.UI.Xaml.DependencyObject

Parent object

value
Object

FrameworkElement

Applies to