OptionsBehavior.SelectOnRightClick Property
Specifies whether the right-click should select a time cell under the cursor.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduler
#Declaration
#Property Value
Type | Description |
---|---|
Boolean | true to select a time cell with a right-click; otherwise, false. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Select |
---|---|
Scheduler |
|
#Remarks
Important
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.
When the SelectOnRightClick property is set to true, if a time cell under the cursor is not yet selected, the current selection is changed to include only this cell. A right-click within highlighted cells does not change the selection.
#Example
This example demonstrates how to specify basic characteristics of the Scheduler control using the SchedulerControl.OptionsBehavior property.
<dxsch:SchedulerControl.OptionsBehavior>
<dxsch:OptionsBehavior ClientTimeZoneId="Central Pacific Standard Time"
RecurrentAppointmentDeleteAction="Ask"
RecurrentAppointmentEditAction="Occurrence"
RemindersFormDefaultAction="DismissAll"
ShowRemindersForm="True"
SelectOnRightClick="True"/>
</dxsch:SchedulerControl.OptionsBehavior>