MoreButtonClickedRoutedEventArgs.Resource Property

Gets the resource associated with the cell where the button is located.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v20.1.dll

Declaration

public Resource Resource { get; }
Public ReadOnly Property Resource As Resource

Property Value

Type Description
Resource

A Resource object that is the resource associated with the time cell which holds the button.

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.

If the DayView.ShowMoreButtonsOnEachColumn is set to false in the DayView and the appointments are grouped, the button is displayed on the Time Ruler. In this situation the Resource gets an empty resource with ID equal to EmptyResourceId.Id.

See Also