[]
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. |
Returns the column index for the column containing the specified point.
public int ColContaining(Point p)
| Type | Name | Description |
|---|---|---|
| Point | p | The point. |
| Type | Description |
|---|---|
| int | The index of the column in the DisplayColumns collection beneath the specified point. |