CalendarViewDayItem.SetDensityColors(IIterable<Color>) Method

Definition

Sets the collection of Color values used to display the density bar.

public:
 virtual void SetDensityColors(IIterable<Color> ^ colors) = SetDensityColors;
void SetDensityColors(IIterable<Color> const& colors);
public void SetDensityColors(IEnumerable<Color> colors);
function setDensityColors(colors)
Public Sub SetDensityColors (colors As IEnumerable(Of Color))

Parameters

colors

IIterable<Color>

IEnumerable<Color>

The collection of Color values used to display the density bar.

Remarks

You can show contextual information about the density of events in a day by calling this method. You can show from 0 to 10 density bars for each day, and set the color of each bar. For more information, see Updating calendar day items

Applies to

See also