MindFusion.Scheduling for Silverlight Programmer's Guide
Selection Members
Constructors Fields 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 Constructors

  Name Description

Selection

Initializes a new instance of the Selection class.

 Public Fields

  Name Description

AllowMultipleProperty

Identifies the AllowMultiple dependency property.

ContinuousProperty

Identifies the Continuous dependency property.

 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.

Continuous

Gets or sets a value indicating whether users can select only one range of dates in the calendar.

IsEmpty

Gets a value indicating whether this selection is empty.

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 the specified date or range of dates to the selection.

Contains

Determines whether the specified date is currently selected.

Intersects

Determines whether the specified range is partially contained within one of the date ranges.

Remove

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

Reset

Clears the selection.

Set

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

 Protected Methods

  Name Description

CreateInstanceCore

Freezable.CreateInstanceCore override.

 Public Events

  Name Description

Changed

Fired when the selection has changed;

 See Also

Selection Class
MindFusion.Scheduling.Silverlight Namespace