Used by UFT to determine if the FrameworkElement that was interacted with, child, is part of the Control, parent.
'Declaration
Public Overloads Overrides Function IsKnownPartOf( _
ByVal As System.Windows.Controls.Control, _
ByVal As System.Windows.FrameworkElement _
) As System.Boolean
public override System.bool IsKnownPartOf(
System.Windows.Controls.Control ,
System.Windows.FrameworkElement
)
public: System.bool IsKnownPartOf(
System.Windows.Controls.Control* ,
System.Windows.FrameworkElement*
) override
Parameters
- Parent
- Control under test
- Child
- Framework element that was interacted with
Return Value
If the Child is part of the control
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2