[]
Returns the Index value of the split containing the specified coordinate pair.
public int SplitContaining(int x, int y)
| Type | Name | Description |
|---|---|---|
| int | x | The x coordinate in pixels. |
| int | y | The y coordinate in pixels. |
| Type | Description |
|---|---|
| int | An integer corresponding to the index of the split beneath the specified coordinate pair. |
The returned value ranges from 0 to Split.Count - 1.
If either argument is outside of the list's data area, this method returns -1.