Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Data.Linq
  [Expand]DevExpress.Web
  [Expand]DevExpress.Web.ASPxGauges
  [Expand]DevExpress.Web.ASPxGauges.Base
  [Expand]DevExpress.Web.ASPxGauges.Scripts
  [Expand]DevExpress.Web.ASPxHtmlEditor
  [Expand]DevExpress.Web.ASPxHtmlEditor.Localization
  [Expand]DevExpress.Web.ASPxHtmlEditor.Scripts
  [Expand]DevExpress.Web.ASPxPivotGrid
  [Expand]DevExpress.Web.ASPxPivotGrid.Data
  [Expand]DevExpress.Web.ASPxPivotGrid.HtmlControls
  [Expand]DevExpress.Web.ASPxPivotGrid.Scripts
  [Expand]DevExpress.Web.ASPxRichEdit
  [Expand]DevExpress.Web.ASPxRichEdit.Localization
  [Expand]DevExpress.Web.ASPxRichEdit.Scripts
  [Collapse]DevExpress.Web.ASPxScheduler
   [Expand]ActiveViewChangingEventArgs Class
    ActiveViewChangingEventHandler Delegate
   [Expand]AgendaAppointmentCellStyle Class
   [Expand]AgendaAppointmentStyles Class
   [Expand]AgendaCellStyle Class
   [Expand]AgendaCellStyleBase Class
   [Expand]AgendaDateCellStyle Class
    AgendaDayHeaderOrientation Enumeration
   [Expand]AgendaEmptyCellStyle Class
   [Expand]AgendaHorizontalDateHeaderStyles Class
    AgendaIconCellVisibility Enumeration
    AgendaResourceLocation Enumeration
   [Expand]AgendaStylesBase Class
   [Expand]AgendaTodayHorizontalDateHeaderStyles Class
   [Expand]AgendaTodayVerticalDateHeaderStyles Class
   [Expand]AgendaVerticalDateHeaderStyles Class
   [Expand]AgendaView Class
   [Expand]AgendaViewStyles Class
   [Expand]AgendaViewTemplates Class
    AppointmentDatesHighlightMode Enumeration
   [Expand]AppointmentDialogLayoutSettings Class
   [Expand]AppointmentFormBaseEventArgs Class
   [Expand]AppointmentFormEventArgs Class
    AppointmentFormEventHandler Delegate
   [Expand]AppointmentFormTemplateContainer Class
   [Expand]AppointmentFormTemplateContainerBase Class
   [Expand]AppointmentImages Class
   [Expand]AppointmentImagesEventArgs Class
    AppointmentImagesEventHandler Delegate
   [Expand]AppointmentInplaceEditorEventArgs Class
    AppointmentInplaceEditorEventHandler Delegate
   [Expand]AppointmentInplaceEditorTemplateContainer Class
   [Expand]AppointmentLabel Class
   [Expand]AppointmentLabelCollection Class
    AppointmentSelectionAppearanceMode Enumeration
   [Expand]AppointmentStatus Class
   [Expand]AppointmentStatusCollection Class
   [Expand]AppointmentTemplateContainer Class
    AppointmentToolTipMode Enumeration
   [Expand]AppointmentViewInfoCustomizingEventArgs Class
    AppointmentViewInfoCustomizingEventHandler Delegate
   [Expand]ASPxAgendaViewAppointmentDisplayOptions Class
   [Expand]ASPxAppointmentCustomFieldMapping Class
   [Expand]ASPxAppointmentCustomFieldMappingCollection Class
   [Expand]ASPxAppointmentMappingInfo Class
   [Expand]ASPxAppointmentStorage Class
   [Expand]ASPxDateNavigator Class
   [Expand]ASPxDayViewAppointmentDisplayOptions Class
   [Expand]ASPxMonthViewAppointmentDisplayOptions Class
   [Expand]ASPxResourceCustomFieldMapping Class
   [Expand]ASPxResourceCustomFieldMappingCollection Class
   [Expand]ASPxResourceMappingInfo Class
   [Expand]ASPxResourceNavigator Class
   [Expand]ASPxResourceStorage Class
   [Expand]ASPxScheduler Class
    ASPxSchedulerChangeAction Enumeration
   [Expand]ASPxSchedulerCustomErrorTextEventArgs Class
    ASPxSchedulerCustomErrorTextEventHandler Delegate
   [Expand]ASPxSchedulerDataBaseUpdatedEventArgs Class
   [Expand]ASPxSchedulerDataDeletedEventArgs Class
    ASPxSchedulerDataDeletedEventHandler Delegate
   [Expand]ASPxSchedulerDataDeletingEventArgs Class
    ASPxSchedulerDataDeletingEventHandler Delegate
   [Expand]ASPxSchedulerDataInsertedEventArgs Class
    ASPxSchedulerDataInsertedEventHandler Delegate
   [Expand]ASPxSchedulerDataInsertingEventArgs Class
    ASPxSchedulerDataInsertingEventHandler Delegate
   [Expand]ASPxSchedulerDataUpdatedEventArgs Class
    ASPxSchedulerDataUpdatedEventHandler Delegate
   [Expand]ASPxSchedulerDataUpdatingEventArgs Class
    ASPxSchedulerDataUpdatingEventHandler Delegate
   [Expand]ASPxSchedulerDataWebControlBase Class
   [Expand]ASPxSchedulerDialogLayoutSettings Class
   [Expand]ASPxSchedulerFormDataHelper Class
   [Expand]ASPxSchedulerOptionsAdaptivity Class
   [Expand]ASPxSchedulerOptionsBehavior Class
   [Expand]ASPxSchedulerOptionsCellAutoHeight Class
   [Expand]ASPxSchedulerOptionsCookies Class
   [Expand]ASPxSchedulerOptionsForms Class
   [Expand]ASPxSchedulerOptionsLoadingPanel Class
   [Expand]ASPxSchedulerOptionsMenu Class
   [Expand]ASPxSchedulerOptionsToolTips Class
   [Expand]ASPxSchedulerOptionsView Class
   [Expand]ASPxSchedulerPopupForm Class
   [Expand]ASPxSchedulerPopupMenu Class
   [Expand]ASPxSchedulerPrepareFormPopupContainerEventArgs Class
    ASPxSchedulerPrepareFormPopupContainerHandler Delegate
   [Expand]ASPxSchedulerRelatedControl Class
   [Expand]ASPxSchedulerRelatedControlBase Class
   [Expand]ASPxSchedulerResourceHeaderOptions Class
   [Expand]ASPxSchedulerStorage Class
   [Expand]ASPxSchedulerStorageControl Class
   [Expand]ASPxSchedulerTimeCellPreparedEventArgs Class
    ASPxSchedulerTimeCellPreparedEventHandler Delegate
   [Expand]ASPxTimelineViewAppointmentDisplayOptions Class
   [Expand]ASPxTimeZoneEdit Class
   [Expand]ASPxViewNavigator Class
   [Expand]ASPxViewSelector Class
   [Expand]ASPxViewSelectorOptionsAdaptivity Class
   [Expand]ASPxViewVisibleInterval Class
   [Expand]ASPxViewVisibleIntervalOptionsAdaptivity Class
   [Expand]ASPxWeekViewAppointmentDisplayOptions Class
    AutoHeightMode Enumeration
   [Expand]BottomLeftCornerStyle Class
   [Expand]CellBodyStyle Class
   [Expand]ClientSideAppointmentFieldNames Class
   [Expand]CustomizeElementStyleEventArgs Class
    CustomizeElementStyleEventHandler Delegate
   [Expand]DateNavigatorClientSideEvents Class
   [Expand]DateNavigatorProperties Class
   [Expand]DayView Class
   [Expand]FullWeekView Class
   [Expand]GotoDateDialogLayoutSettings Class
   [Expand]GotoDateFormEventArgs Class
    GotoDateFormEventHandler Delegate
   [Expand]GotoDateFormTemplateContainer Class
   [Expand]HeaderStyle Class
   [Expand]InitClientAppointmentEventArgs Class
    InitClientAppointmentHandler Delegate
   [Expand]MonthView Class
   [Expand]PopupMenuShowingEventArgs Class
    PopupMenuShowingEventHandler Delegate
   [Expand]PreparePopupMenuEventArgs Class
    PreparePopupMenuEventHandler Delegate
   [Expand]RecurrenceDialogLayoutSettings Class
   [Expand]RecurrentAppointmentDeleteDialogLayoutSettings Class
   [Expand]RecurrentAppointmentEditDialogLayoutSettings Class
   [Expand]ReminderDialogLayoutSettings Class
    ResourceColorFillArea Enumeration
   [Expand]ResourceNavigator Class
    ResourceNavigatorMode Enumeration
   [Expand]ResourceNavigatorPagerProperties Class
   [Expand]ResourceNavigatorProperties Class
   [Expand]ResourceNavigatorTokensProperties Class
   [Expand]SchedulerCallbackCommandEventArgs Class
    SchedulerCallbackCommandEventHandler Delegate
   [Expand]SchedulerCallbackCommandId Class
   [Expand]SchedulerClientSideEvents Class
   [Expand]SchedulerCustomShortcutCollection Class
    SchedulerFormAction Enumeration
   [Expand]SchedulerFormEditorsImages Class
   [Expand]SchedulerFormEventArgs Class
   [Expand]SchedulerFormTemplateContainer Class
    SchedulerFormVisibility Enumeration
   [Expand]SchedulerShortcut Class
   [Expand]SchedulerShortcutCommands Class
   [Expand]SchedulerStorageClientSideEvents Class
   [Expand]SchedulerTemplates Class
   [Collapse]SchedulerViewBase Class
     SchedulerViewBase Members
    [Expand]SchedulerViewBase Properties
    [Collapse]SchedulerViewBase Methods
      AddAppointmentSelection Method
      Assign Method
      ChangeAppointmentSelection Method
      Dispose Method
      GetAppointmentDisplayOptions Method
      GetAppointments Method
      GetResources Method
      GetVisibleIntervals Method
      ReverseAppointmentSelection Method
     [Expand]SelectAppointment Method
      SetSelection Method
      SetVisibleIntervals Method
      ZoomIn Method
      ZoomOut Method
   [Expand]SchedulerViewRepository Class
   [Expand]SelectionBarStyle Class
   [Expand]TimeIndicatorDisplayOptions Class
   [Expand]TimelineView Class
   [Expand]TimelineViewStyles Class
    ToolTipCornerType Enumeration
    WebElementType Enumeration
   [Expand]WeekView Class
   [Expand]WorkWeekView Class
  [Expand]DevExpress.Web.ASPxScheduler.Commands
  [Expand]DevExpress.Web.ASPxScheduler.Commands.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Controls
  [Expand]DevExpress.Web.ASPxScheduler.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Drawing
  [Expand]DevExpress.Web.ASPxScheduler.Localization
  [Expand]DevExpress.Web.ASPxScheduler.Reporting
  [Expand]DevExpress.Web.ASPxScheduler.Scripts
  [Expand]DevExpress.Web.ASPxSpellChecker
  [Expand]DevExpress.Web.ASPxSpellChecker.Localization
  [Expand]DevExpress.Web.ASPxSpellChecker.Scripts
  [Expand]DevExpress.Web.ASPxSpreadsheet
  [Expand]DevExpress.Web.ASPxSpreadsheet.Localization
  [Expand]DevExpress.Web.ASPxSpreadsheet.Scripts
  [Expand]DevExpress.Web.ASPxTreeList
  [Expand]DevExpress.Web.ASPxTreeList.Internal
  [Expand]DevExpress.Web.ASPxTreeList.Localization
  [Expand]DevExpress.Web.ASPxTreeList.Scripts
  [Expand]DevExpress.Web.Captcha
  [Expand]DevExpress.Web.Data
  [Expand]DevExpress.Web.Internal
  [Expand]DevExpress.Web.Localization
  [Expand]DevExpress.Web.Mvc
  [Expand]DevExpress.Web.Mvc.BinderSettings
  [Expand]DevExpress.Web.Mvc.Controllers
  [Expand]DevExpress.Web.MVC.Scripts
  [Expand]DevExpress.Web.Mvc.UI
  [Expand]DevExpress.Web.Office
  [Expand]DevExpress.Web.Office.Internal
  [Expand]DevExpress.Web.Rendering
  [Expand]DevExpress.Web.Scripts
  [Expand]DevExpress.XtraCharts.Web
  [Expand]DevExpress.XtraCharts.Web.Designer
  [Expand]DevExpress.XtraCharts.Web.Scripts
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

SchedulerViewBase.ReverseAppointmentSelection Method

Switches the selection status of the specified appointment.

Namespace:DevExpress.Web.ASPxScheduler
Assembly:DevExpress.Web.ASPxScheduler.v18.1.dll

Expanded Syntax

Parameters

apt
Type: Appointment
An DevExpress.XtraScheduler.Appointment object that specifies the appointment.

Expanded Remarks

Use the ReverseAppointmentSelection method to switch the selection state of a specific appointment in the current View.

If the ReverseAppointmentSelection method is called for an appointment which has not been selected, then the appointment is added to the ASPxScheduler.SelectedAppointments collection and appears selected in the View. As a result, both the ASPxScheduler.SelectedInterval and SelectedInterval properties take the time interval value that corresponds to the specified appointment.

Calling the ReverseAppointmentSelection method for a selected appointment removes it from the ASPxScheduler.SelectedAppointments collection and so makes it appear unselected. In this case, the selection is applied to the View in the following manner. If the specified appointment was the only selected appointment within the scheduler control, the time interval that corresponds to the specified appointment appears selected. If there was more than one appointment selected, the ReverseAppointmentSelection method is called, no time interval appears selected and only the other appointments in the ASPxScheduler.SelectedAppointments collection are displayed selected within the View.

Expanded See Also

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