Gets the horizontal coordinate in the chart for the specified date and time.
The output value may be negative if the date time is less than TimelinePageStart, or higher than ComputedWidth if the date time is greater than TimelinePageFinish.
Namespace:
DlhSoft.Windows.ControlsAssembly: DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)
Syntax
C# |
---|
double GetPosition( DateTime dateTime ) |
Visual Basic (Declaration) |
---|
Function GetPosition ( _ dateTime As DateTime _ ) As Double |
Parameters
- dateTime
- Type: System..::.DateTime
The date and time to get the position for.