ResourceDataSourceCreatedEventArgs(Type, Object) Constructor

Obsolete. Creates and initializes a new instance of the ResourceDataSourceCreatedEventArgs class.

Namespace: DevExpress.ExpressApp.Scheduler

Assembly: DevExpress.ExpressApp.Scheduler.v18.1.dll

Syntax

[Obsolete("Use the ResourceDataSourceCreatedEventArgs(object dataSource) constructor instead.")]
public ResourceDataSourceCreatedEventArgs(
    Type resourceType,
    object dataSource
)

Parameters

Type Name Description
Type resourceType

Specifies the type of the resource objects used by the scheduler control.

Object dataSource

Specifies the object used to store resources. This argument's value is assigned to the ResourceDataSourceCreatedEventArgs.DataSource property.

Since the SchedulerListEditorBase.ResourceDataSourceCreated event is automatically raised by a SchedulerListEditorBase class descendant, you do not need to instantiate the ResourceDataSourceCreatedEventArgs class.