Table of Contents

Method IsChildHandle

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

IsChildHandle(Control, IntPtr)

Determines whether a control is a child control or descendant control of a specified parent control.

public static bool IsChildHandle(Control control, IntPtr handle)

Parameters

control Control

A parent control.

handle IntPtr

A handle to the control to be tested.

Returns

bool

True if the control is a child or descendant control; otherwise false.