Version

EnsureDateTimeVisible(DateTime,Boolean) Method

Brings the column which represents the specified date and time into the viewable area of the control, optionally making it appear in the first column.
Syntax
'Declaration
 
Public Overloads Function EnsureDateTimeVisible( _
   ByVal dateTime As Date, _
   ByVal firstColumn As Boolean _
) As Boolean
public bool EnsureDateTimeVisible( 
   DateTime dateTime,
   bool firstColumn
)

Parameters

dateTime
The DateTime structure which defines the date and time to be brought into view.
firstColumn
Boolean which specifies whether to make the associated column appear as the first column.

Return Value

A boolean which specifies whether the operation was successful.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also