RingSoft.DataEntryControls.Engine.Annotations Namespace
RingSoft.DataEntryControls.WPF Namespace

ExtensionMethods..::..IsChildControl Method

Determines whether [is child control] [the specified control].

Namespace:  RingSoft.DataEntryControls.WPF
Assembly:  RingSoft.DataEntryControls.WPF (in RingSoft.DataEntryControls.WPF.dll)

Syntax


public static bool IsChildControl(
	this DependencyObject parent,
	Control control
)
<ExtensionAttribute> _
Public Shared Function IsChildControl ( _
	parent As DependencyObject, _
	control As Control _
) As Boolean
[ExtensionAttribute]
public:
static bool^ IsChildControl(
	DependencyObject^ parent, 
	Control^ control
)

Parameters

parent
Type: DependencyObject
The parent.
control
Type: Control
The control.

Return Value

true if [is child control] [the specified control]; otherwise, false.