Edit

Share via


FrameworkElementHelpers.IsParentOf(FrameworkElement, FrameworkElement) Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsParentOf(System::Windows::FrameworkElement ^ targetControl, System::Windows::FrameworkElement ^ child);
public static bool IsParentOf (this System.Windows.FrameworkElement targetControl, System.Windows.FrameworkElement child);
static member IsParentOf : System.Windows.FrameworkElement * System.Windows.FrameworkElement -> bool
<Extension()>
Public Function IsParentOf (targetControl As FrameworkElement, child As FrameworkElement) As Boolean

Parameters

targetControl
FrameworkElement

Returns

Applies to