Skip to content

Selection Property

Description

Retrieves date information representing the upper and lower limits of the date range currently selected by the user.

Property Type

Read-only property

Syntax (Visual Basic)

Public Property Selection() As [DatePickerSelection](XtremeCalendarControl~DatePickerSelection.md)

Remarks

When AllowNoncontinuousSelection is True, there can be many blocks of selected days. The DatePickerSelection object contains the blocks of selected days. More than one day can be selected at a time by clicking and dragging the mouse for the desired amount of days. The amount of days that can be selected at any one time can be specified with the MaxSelectionCount property. To select multiple groups of one or more days, the Control key must be held down while selecting the days. To allow multiple groups of one or more days to be selected, the AllowNoncontinuousSelection property must be True.

Items are selected by clicking on the individual days of month items or pressing the "Today" and "None" buttons. When an item is selected, it will be highlighted. The SelectionChanged event occurs both when an item becomes selected and if it becomes unselected.

The SelectRange method can be used to select a range of days via code.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.