Checks the parent chain of IContainerControls to ensure that the specified control is the resolved active control. In other words, that the control is the active control of its container control which is the active control of its container control, etc.
'Declaration
Public Shared Function IsActiveControl( _
ByVal As Control _
) As Boolean
public static bool IsActiveControl(
Control
)
Parameters
- control
- Control to evaluate
Return Value
True if the control is the resolved active control
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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