Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ResourceTreeControl.InitNewResource Event

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

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.2.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