[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Collapse]Scheduler
   [Expand]Getting Started
   [Expand]Appointments
    Resources
    Reminders
   [Expand]Views
   [Expand]Visual Elements
   [Expand]Styles and Templates
   [Expand]Design-Time Features
    Time Zones
   [Expand]Data Binding
    Grouping
    Selecting
    Navigating
    Printing
    End-User Restrictions
   [Expand]Examples
    Migration Guidelines
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Selecting

The SchedulerControl allows you to access the appointments, time cells or resources an end-user selected.

Expanded Obtain Selected Appointments

Use the SchedulerControl.SelectedAppointments property to retrieve the selected appointments collection, as shown in the code sample below:

Show Me

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=T564865.

Expanded Obtain Selected Time Interval

Use the SchedulerControl.SelectedInterval property to retrieve the time cells interval selected by an end-user. When selecting an appointment, this property returns the interval this appointment occupies.
The SchedulerControl.SelectedResource property provides access to the resource related to the selected time interval.

Show Me

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=T564865.

You can change the selected time interval by moving the selection in the desired direction. Call the corresponding view's MoveSelection method to complete the task.

Expanded Bind Selection to the Source

Use the following properties to bind the selected appointments and resources to the source objects in MVVM architecture:

Expanded Selection in the User Interface

End-users can select a particular date, specific appointment, a date or time cell range, and a range of appointments. The table below lists all available actions:

Action Effect
Click any date in the Scheduler (if the currently active view is set to either the Week View or Month View) Selects a day
Click and drag across the time cells (in the Week View or Month View only). Selects a continuous date range. Does not change the selected range in the DateNavigator control (if it is provided).
Clicking the mouse Selects a time cell
Clicking and dragging the mouse Selects a continuous time cell range
Pressing the SHIFT+ARROW KEY combination. Allows end-users to select a continuous time cell range. Note that this clears a previous cell selection
Click any appointment in the Scheduler Selects an appointment
Click appointments while pressing the SHIFT or CTRL key Selects multiple appointments
Tip

Use the SchedulerControl.AllowAppointmentMultiSelect property to restrict selecting multiple appointments.

Is this topic helpful?​​​​​​​