Skip to main content
A newer version of this page is available. .

SchedulerStorage.GetObjectRow(IPersistentObject) Method

Returns the data row object that contains information about the specified persistent object.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduler, DevExpress.Wpf.Scheduler

Declaration

public object GetObjectRow(
    IPersistentObject obj
)

Parameters

Name Type Description
obj IPersistentObject

A PersistentObject descendant which represents the persistent object (appointment, or resource).

Returns

Type Description
Object

A Object which is the data source object (or the data row) containing information about the persistent object.

Remarks

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

Each persistent object (appointment or resource) is stored in a specific storage object (whose base type is PersistentObjectStorage<T>) that can either be used in unbound mode or bound to a data source. When in bound mode, the GetObjectRow method can be used to obtain the data source object (or the data row), which contains information on the specified persistent object.

If the Scheduler is bound to a collection of objects, the GetObjectRow returns the object from the collection.

See Also