Skip to main content
A newer version of this page is available. .

ResourceTreeControl.InitNewResource Event

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

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduling, 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