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.1.dll

Declaration

public object GetObjectRow(
    IPersistentObject obj
)
Public Function GetObjectRow(
    obj As IPersistentObject
) As Object

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