Determines if a framework element is part of the control.
'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
- 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.
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