ComponentOne True DBGrid for WinForms
ColContaining(Int32) Method

C1.Win.C1TrueDBGrid.4 Assembly > C1.Win.C1TrueDBGrid Namespace > C1TrueDBGrid Class > ColContaining Method : ColContaining(Int32) Method
The horizontal coordinate (X value) in pixels.
Returns the column index for the column containing the specified X coordinate.
Syntax
'Declaration
 
Public Overloads 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

C1TrueDBGrid Class
C1TrueDBGrid Members
Overload List