Version

IsKnownPartOf(Control,FrameworkElement) Method

Used by UFT to determine if the FrameworkElement that was interacted with, child, is part of the Control, parent.
Syntax
'Declaration
 
Public Overloads Overrides Function IsKnownPartOf( _
   ByVal Parent As System.Windows.Controls.Control, _
   ByVal Child As System.Windows.FrameworkElement _
) As System.Boolean
public override System.bool IsKnownPartOf( 
   System.Windows.Controls.Control Parent,
   System.Windows.FrameworkElement Child
)
public: System.bool IsKnownPartOf( 
   System.Windows.Controls.Control* Parent,
   System.Windows.FrameworkElement* Child
) override 

Parameters

Parent
Control under test
Child
Framework element that was interacted with

Return Value

If the Child is part of the control
Requirements

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

See Also