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

Allows you to set the source object for resource groups.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

public event CreateGroupSourceObjectEventHandler CreateGroupSourceObject

#Event Data

The CreateGroupSourceObject event's data class is DevExpress.Xpf.Scheduling.CreateGroupSourceObjectEventArgs.

#Remarks

When a new resource group is created, the Resource Tree control automatically creates an object that represents this group in the bound data source. The source object is available using the GroupsSource property. However, you can create a source object manually by handling the CreateGroupSourceObject event. Create a source object and assign it to the CreateGroupSourceObjectEventArgs.SourceObject property.

See Also