Skip to main content

ResourceTreeControl.CreateGroupSourceObject Event

Allows you to set the source object for resource groups.

Namespace: DevExpress.Xpf.Scheduling

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