Gets the item index at the specified vertical coordinate in the chart.
If there is no item at the specified position, it returns the appropriate index that the item would have, if it would exist.
Namespace:
DlhSoft.Windows.ControlsAssembly: DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)
Syntax
C# |
---|
int GetItemIndexAt( double position ) |
Visual Basic (Declaration) |
---|
Function GetItemIndexAt ( _ position As Double _ ) As Integer |
Parameters
- position
- Type: System..::.Double
The position to get the item index for.