The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

ResourceDataSourceCreatingEventArgs Class

Represents arguments passed to the SchedulerListEditorBase.ResourceDataSourceCreating event.

Namespace: DevExpress.ExpressApp.Scheduler

Assembly: DevExpress.ExpressApp.Scheduler.v19.2.dll

Declaration

public class ResourceDataSourceCreatingEventArgs :
    HandledEventArgs
Public Class ResourceDataSourceCreatingEventArgs
    Inherits HandledEventArgs
public class ResourceDataSourceCreatingEventArgs :
    HandledEventArgs
Public Class ResourceDataSourceCreatingEventArgs
    Inherits HandledEventArgs

Remarks

The ResourceDataSourceCreating event is raised in the protected SchedulerListEditorBase.CreateResourcesDataSource method. You can use the ResourceDataSourceCreating event to specify a custom resources data source to be used by the SchedulerListEditorBase's descendant. The handler's ResourceDataSourceCreatingEventArgs.ResourceType parameter specifies the type of resource objects used by the scheduling control. Instantiate a collection of the required resources and pass it to the handler's ResourceDataSourceCreatingEventArgs.DataSource parameter. Set the handler's Handled parameter to true, to prohibit the creation of the default resources collection.

To perform custom actions over the resources data source used by the SchedulerListEditorBase's descendant, handle the SchedulerListEditorBase.ResourceDataSourceCreated.

For information on resources, refer to the Resources in a Schedule topic.

Inheritance

Object
EventArgs
HandledEventArgs
ResourceDataSourceCreatingEventArgs
See Also