MindFusion.Scheduling for ASP.NET Programmer's Guide
Selection Members
Properties Methods Events
 


Represents a set of selected calendar 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 users are allowed to select multiple elements at a time.

Contact

Gets the Contact related to the current selection.

Enabled

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

IsEmpty

Gets a value indicating whether this selection is empty.

IsTrackingViewState

IStateManager.IsTrackingViewState override. Gets a value that indicates whether the server control is saving changes to its view state.

Location

Gets the Location related to the current selection.

Ranges

Gets a read-only collection of DateTime objects, sorted chronologically. Each pair in the collection represents a selected time range.

Resource

Gets the resource related to the current selection.

Task

Gets the task related to the current selection.

 Public Methods

  Name Description

Add

Overloaded. Adds a date or a range of dates to the selection.

Contains

Determines whether the specified date is currently selected.

ContainsDay

Determines whether any part of the specified day is selected.

LoadViewState

WebControl.LoadViewState override. Restores view-state information from a previous page request that was saved by the SaveViewState method.

Remove

Overloaded. Removes a date or a range of dates from the selection.

Reset

Clears the selection.

SaveViewState

WebControl.SaveViewState override. Saves any server side view-state changes that have occurred on the Selection object since the page was posted back to the server.

Set

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

TrackViewState

WebControl.TrackViewState override. Causes tracking of view-state changes to the server control so they can be stored in the server control's StateBag object.

 Public Events

  Name Description

Changed

Raised when the selection changes.

 See Also

Selection Class
MindFusion.Scheduling.WebForms Namespace