Gets the maximum date and time less or equal than the specified date and time that is visible in the chart, determined based on the visible week and visible day definitions. If the resulting date and time cannot be greater than TimelinePageStart, then TimelinePageStart is returned.

Namespace:  DlhSoft.Windows.Controls
Assembly:  DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)

Syntax

C#
DateTime GetPreviousVisibleTime(
	DateTime dateTime
)
Visual Basic (Declaration)
Function GetPreviousVisibleTime ( _
	dateTime As DateTime _
) As DateTime

Parameters

dateTime
Type: System..::.DateTime
The date and time to get the previous visible time for.

Return Value

The maximum date and time less or equal than the specified date and time that is visible in the chart.

See Also