Skip to main content
.NET 6.0+

ResourceDataSourceCreatedEventArgs(Type, Object) Constructor

OBSOLETE

Use the ResourceDataSourceCreatedEventArgs(object dataSource) constructor instead.

Creates and initializes a new instance of the ResourceDataSourceCreatedEventArgs class.

Namespace: DevExpress.ExpressApp.Scheduler

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

Declaration

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

Parameters

Name Type Description
resourceType Type

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

dataSource Object

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

Remarks

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

See Also