Version

IsKnownPartOf(Control,FrameworkElement) Method

Determines if a framework element is part of the control.
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
Root control
Child
Framework element to determine if it's a child of Parent

Return Value

Boolean value of if the Child is part of the Parent.
Remarks
This is internally called by UFT when the user interacts with a Framework element to determine if it should be considered part of the proxy
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