dbicDate Send comments on this topic.
SelectDate(DateTime,Boolean) Method
See Also 
dbicDate Assembly > Dbi.WinControl.Date Namespace > dbiDate Class > SelectDate Method : SelectDate(DateTime,Boolean) Method

dtDate
The date to select or unselect
bSelect
A boolean value indicating if the date should be selected (True) or unselected (False)
Allows the selection, and un-selection, of individual dates in the control.

Syntax

Visual Basic (Declaration) 
Overloads Public Function SelectDate( _
   ByVal dtDate As Date, _
   ByVal bSelect As Boolean _
) As Boolean
C# 
public bool SelectDate( 
   DateTime dtDate,
   bool bSelect
)

Parameters

dtDate
The date to select or unselect
bSelect
A boolean value indicating if the date should be selected (True) or unselected (False)

Return Value

a boolean value indicating if the desired selection/unselection was successful

Attempting to select a date that is already selected or to unselect a date that isn't currently selected, will return a value of false.

Remarks

This method requires the SelectedMode property be set to Multiple to work correctly.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also