[]
Returns the column index for the column containing the specified X coordinate.
public int ColContaining(int x)
Type | Name | Description |
---|---|---|
int | x | The horizontal coordinate (X value) in pixels. |
Type | Description |
---|---|
int | The index of the column in the DisplayColumns collection beneath the specified X coordinate. |