Dundas Chart for Windows Forms
Contains Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Chart Class : Contains Method


ctl
The Control to evaluate.
Retrieves a value indicating whether the specified control is a child of the control.

Syntax

Visual Basic (Declaration)  
Public Function Contains( _
   ByVal ctl As Control _
) As Boolean
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim ctl As Control
Dim value As Boolean
 
value = instance.Contains(ctl)
C#  
public bool Contains( 
   Control ctl
)

Parameters

ctl
The Control to evaluate.

Return Value

true if the specified control is a child of the control; otherwise, false.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.