ComponentOne True DBGrid for WinForms
ColContaining Method (C1TrueDBDropdown)

C1.Win.C1TrueDBGrid.4 Assembly > C1.Win.C1TrueDBGrid Namespace > C1TrueDBDropdown Class : ColContaining Method
The horizontal coordinate (X value) in pixels.
Returns the column index for the column containing the specified X coordinate.
Syntax
'Declaration
 
Public Function ColContaining( _
   ByVal x As System.Integer _
) As System.Integer
public System.int ColContaining( 
   System.int x
)

Parameters

x
The horizontal coordinate (X value) in pixels.

Return Value

The index of the column in the Split.DisplayColumns collection beneath the specified X coordinate.
See Also

Reference

C1TrueDBDropdown Class
C1TrueDBDropdown Members