ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.SplitContaining Method

Returns the SplitIndex of the split containing the specified coordinate.

[Visual Basic]

Public Function SplitContaining( _

ByVal x As Integer, _

ByVal y As Integer _

) As Integer

[C#]

public int SplitContaining(

int x,

int y

);

[Delphi]

public function SplitContaining(

x: Int32;

y: Int32

): Int32;

Parameters

x

The x-coordinate.

y

The y-coordinate.

Return Value

The SplitIndex beneath the specified coordinate pair.

Remarks

This value ranges from 0 to Splits.Count - 1.

If either parameter is outside of the grid's data area, this method returns -1.

See Also

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


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