public class CustomBrushes
extends java.lang.Object
Constructor and Description |
---|
CustomBrushes()
Initializes a new instance of the
CustomBrushes class. |
Modifier and Type | Method and Description |
---|---|
Brush |
getPrimaryBrush()
Gets the brush used to paint primary calendar elements.
|
Brush |
getSecondaryBrush()
Gets the brush used to paint secondary calendar elements.
|
void |
setPrimaryBrush(Brush value)
Sets the brush used to paint primary calendar elements.
|
void |
setSecondaryBrush(Brush value)
Sets the brush used to paint secondary calendar elements.
|
public CustomBrushes()
CustomBrushes
class.public Brush getPrimaryBrush()
What is painted with this brush depends on the current view and the context
in which the CustomBrushes
instance is used. For example, in timetable
view contact's primary custom brush is used to paint the non-work time cells for the contact.
Brush
instance used to fill the interior of calendar UI elements.
The default is null.public void setPrimaryBrush(Brush value)
What is painted with this brush depends on the current view and the context
in which the CustomBrushes
instance is used. For example, in timetable
view contact's primary custom brush is used to paint the non-work time cells for the contact.
value
- A Brush
instance used to fill the interior of calendar UI elements.
The default is null.public Brush getSecondaryBrush()
What is painted with this brush depends on the current view and the context
in which the CustomBrushes
instance is used. For example, in timetable
view contact's secondary custom brush is used to paint the work time cells for the contact.
Brush
instance used to fill the interior of calendar UI elements.
The default is null.public void setSecondaryBrush(Brush value)
What is painted with this brush depends on the current view and the context
in which the CustomBrushes
instance is used. For example, in timetable
view contact's secondary custom brush is used to paint the work time cells for the contact.
value
- A Brush
instance used to fill the interior of calendar UI elements.
The default is null.