Skip to main content

ResourceTreeControl.InitNewResource Event

Occurs before a new resource is created in the Resource Tree control.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public event ResourceItemEventHandler InitNewResource

Event Data

The InitNewResource event's data class is DevExpress.Xpf.Scheduling.ResourceItemEventArgs.

Remarks

Use the InitNewResource event to change the default values of the ResourceItem properties every time a new resource is created in the ResourceTreeControl by an end-user (for instance, when an end-user clicks the New Resource item of the context menu).

See Also