Skip to main content

SchedulerControl.PreviewMoreButtonClicked Event

Occurs when the More Button is clicked before the SchedulerControl.MoreButtonClicked event.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public event MoreButtonClickedRoutedEventHandler PreviewMoreButtonClicked

Event Data

The PreviewMoreButtonClicked event's data class is MoreButtonClickedRoutedEventArgs. The following properties provide information specific to this event:

Property Description
Handled Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. Inherited from RoutedEventArgs.
Interval Gets time interval of the cell where the button is located.
OriginalSource Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
Resource Gets the resource associated with the cell where the button is located.
RoutedEvent Gets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.
Source Gets or sets a reference to the object that raised the event. Inherited from RoutedEventArgs.
TargetViewStart Gets or sets the top row time of the target view.

The event data class exposes the following methods:

Method Description
InvokeEventHandler(Delegate, Object) When overridden in a derived class, provides a way to invoke event handlers in a type-specific way, which can increase efficiency over the base implementation. Inherited from RoutedEventArgs.
OnSetSource(Object) When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes. Inherited from RoutedEventArgs.

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.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

Tunneling event.

Event arguments provide information on the time interval of the cell where the “More” button is located, on the Resource object associated with the time cell and the top visible time of the view to which the scheduler navigates.

To cancel the default action (in the Day View - navigation to the out of sight appointment, in the Month View - switching to the Day view), set the Handled property value to true.

See Also