Search
Selection Members
Properties Methods Events
 


Represents a set of selected date cells and defines a visualization style applied to the selected elements.

The following tables list the members exposed by the Selection type.

 Public Properties

  Name Description

AllowMultiple

Gets or sets a value indicating whether the selection can span multiple cells.

Enabled

Gets or sets a value indicating whether users are allowed to select any cells in the calendar.

EndTime

Gets the end time of the selection.

IsEmpty

Gets a value indicating whether this selection is empty.

Resource

Gets the resource related to the current selection.

SelectedElementsStyle

Gets or sets the visualization style to apply to selected elements.

StartTime

Gets the start time of the selection.

 Public Methods

  Name Description

Contains

Determines whether the specified date is currently selected.

ContainsDay

Determines whether any part of the specified day is selected.

Reset

Clears the selection.

Restore

Restores a previously saved state.

Save

Saves the current selection state.

Set

Overloaded. Sets the current selection to a date or a range of dates.

 Public Events

  Name Description

Changed

Raised when the selection changes.

SelectedElementsStyleChanged

Raised when the appearance style of the selection changes.

 See Also