Returns the position (x-axis coordinate) for the specified date and time in the Gantt Chart view of the GanttChartEntityListViewBase control.
Namespace:
DlhSoft.Windows.ControlsAssembly: DlhSoft.ProjectData.GanttChart.Controls (in DlhSoft.ProjectData.GanttChart.Controls.dll)
Syntax
C# |
---|
public double GetPosition( DateTime dateTime, bool workingTimeOnly ) |
Visual Basic (Declaration) |
---|
Public Function GetPosition ( _ dateTime As DateTime, _ workingTimeOnly As Boolean _ ) As Double |
Parameters
- dateTime
- Type: System..::.DateTime
The date and time to return the position for.
- workingTimeOnly
- Type: System..::.Boolean
A value indicating whether to make sure the returned value is of a working time.