Skip to content

DayMetrics Event

Description

Occurs before each date/day is drawn in the Date Picker. This allows the metrics to be modified before the day is displayed.

Syntax

Public Event DayMetrics( _
    ByVal [Day](#) As Date, _
    ByVal [Metrics](#) As [DatePickerDayMetrics](XtremeCalendarControl~DatePickerDayMetrics.md) _
)

Parameters

  • Day: Date that will be drawn next.
  • Metrics: Metrics for the next day that will be drawn.

Remarks

By default, the DayMetrics event is not executed. The AskDayMetrics property must be set to True for the DayMetrics event to occur. Metrics include background color, font, font color, and displaying a picture.

See Also


See Also

Calendar ActiveX Control v24.0


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.