Search
Resource.getCustomBrushes Method
See Also
 






Gets a CustomBrushes object associated with the resource.

Namespace: com.mindfusion.scheduling.model
Package: com.mindfusion.scheduling.model

 Syntax

Java  Copy Code

public CustomBrushes getCustomBrushes ()

 Return Value

An instance of the CustomBrushes class that defines brushes used to paint the background of calendar elements associated with this resource.

 Remarks

This property defines a primary and a secondary brush used to paint the background of resource-related UI elements. The scheduled events for a resource can be displayed in their own columns in timetable, week range and resource views. In timetable view the primary brush is used to paint the non-work time cells, and the secondary brush is used to paint the work time cells. In week range view the two brushes are used to alternately paint odd and even weeks.

 See Also