Skip to main content

ResourceTreeControl.CreateResourceSourceObject Event

Allows you to set the source object for resources

Namespace: DevExpress.Xpf.Scheduling

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