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.CreateResourceSourceObject Event

Allows you to set the source object for resources

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

public event CreateResourceSourceObjectEventHandler CreateResourceSourceObject

#Event Data

The CreateResourceSourceObject event's data class is DevExpress.Xpf.Scheduling.CreateResourceSourceObjectEventArgs.

#Remarks

When a new resource is created, the Resource Tree control automatically creates an object that represents this resource in the bound data source. You can create a source object manually by handling the CreateResourceSourceObject event. Create a source object and assign it to the CreateResourceSourceObjectEventArgs.SourceObject property.

See Also