ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.ColContaining Method

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

[Visual Basic]

Public Function ColContaining( _

ByVal x As Integer _

) As Integer

[C#]

public int ColContaining(

int x

);

[Delphi]

public function ColContaining(

x: Int32

): Int32;

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

C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.