True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.5.2 Assembly / C1.Win.C1TrueDBGrid Namespace / C1TrueDBDropdown Class / ColContaining Method
The horizontal coordinate (X value) in pixels.

In This Topic
    ColContaining Method (C1TrueDBDropdown)
    In This Topic
    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