[]
        
(Showing Draft Content)

C1.Win.TrueDBGrid.C1TrueDBGrid.ColContaining

ColContaining Method

ColContaining(int)

Returns the column index for the column containing the specified X coordinate.

Declaration
public int ColContaining(int x)
Parameters
Type Name Description
int x

The horizontal coordinate (X value) in pixels.

Returns
Type Description
int

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

ColContaining(Point)

Returns the column index for the column containing the specified point.

Declaration
public int ColContaining(Point p)
Parameters
Type Name Description
Point p

The point.

Returns
Type Description
int

The index of the column in the DisplayColumns collection beneath the specified point.