Skip to main content

TcxSchedulerCustomResourceViewInfoItem.Resource Property

Contains information on resources.

Declaration

property Resource: TcxSchedulerResourceViewInfo read; write;

Property Value

Type
TcxSchedulerResourceViewInfo

Remarks

If custom painting is performed (see the Custom Drawing topic), an instance of the TcxSchedulerResourceViewInfo class can be used to get details on the current resource object (see the TcxSchedulerResourceViewInfo.ResourceItem property), such as the caption (as well as its rectangle) and icon for the resource header (see the TcxSchedulerResourceViewInfo.Caption, TcxSchedulerResourceViewInfo.TextRect, TcxSchedulerResourceViewInfo.Images, TcxSchedulerResourceViewInfo.ImageIndex and TcxSchedulerResourceViewInfo.ImagePosition properties), its unique identifier (see the TcxSchedulerResourceViewInfo.ResourceID property) and the color for the resource group (see the TcxSchedulerResourceViewInfo.Color property).

Use the Resource property to access the TcxSchedulerResourceViewInfo instance.

See Also