Resource.GetRow(SchedulerStorageBase) Method
Provides access to the data record for the current resource.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v14.2.Core.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
storage | Scheduler |
A DevExpress. |
#Returns
Type | Description |
---|---|
Object | A data row object (Data |
#Remarks
Each resource is stored in a specific storage object (whose type is ResourceStorage) that can either be used in unbound mode or be bound to a data source via its DataSource property. In bound mode, the GetRow method can be used to obtain the data source's data row which contains information describing the current resource. The storage parameter of this method specifies the scheduler storage control to which the resource storage, containing the current resource object, belongs.
The GetRow method together with the Resource.GetValue and Resource.SetValue methods can be useful when it is necessary to maintain custom information about a resource. The custom information is stored within specific custom fields of the data source's row.