The requested page is not available for the requested platform. You are viewing the content for Default platform.

ResourceDataSourceCreatedEventArgs(Type, Object) Constructor

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

Namespace: DevExpress.ExpressApp.Scheduler

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

Declaration

[Obsolete("Use the ResourceDataSourceCreatedEventArgs(object dataSource) constructor instead.")]
[Browsable(false)]
public ResourceDataSourceCreatedEventArgs(
    Type resourceType,
    object dataSource
)
<Obsolete("Use the ResourceDataSourceCreatedEventArgs(object dataSource) constructor instead.")>
<Browsable(False)>
Public Sub New(
    resourceType As Type,
    dataSource As Object
)

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