Calendar Section

  • 2 minutes to read

A Calendar section is an embedded calendar control displayed within the ASPxDateEdit drop-down window. You can use the ASPxDateEdit.CalendarProperties property to access calendar settings.

The Calendar section is always visible in the drop-down window. You can also enable the Time Section. The editor displays the fast navigation window when users click the current month and year in a calendar header.

ASPxDateEdit_CalendarSection

The table below lists the main properties that affect calendar elements.

Visual element Members
Clear Button CalendarProperties.ShowClearButton, CalendarProperties.ClearButtonText, CalendarProperties.ButtonStyle
Day Headers CalendarProperties.ShowDayHeaders, CalendarProperties.DayNameFormat, CalendarProperties.DayHeaderStyle
Footer CalendarProperties.FooterStyle
Header CalendarProperties.ShowHeader, CalendarProperties.HeaderStyle
Month Navigation Buttons CalendarProperties.EnablePeriodNavigation, CalendarProperties.NextPeriodImage, CalendarProperties.PrevPeriodImage
Today CalendarProperties.TodayStyle
Today Button CalendarProperties.ShowTodayButton, CalendarProperties.TodayButtonText, CalendarProperties.ButtonStyle
Week Numbers CalendarProperties.ShowWeekNumbers
Year Navigation Buttons CalendarProperties.EnableLargePeriodNavigation, CalendarProperties.NextLargePeriodImage, CalendarProperties.PrevLargePeriodImage

Keyboard Support

Key Combination Action (when no date is selected) Action (when a date is selected)
LEFT ARROW Selects the current day Moves selection to the previous day
RIGHT ARROW Selects the current day Moves selection to the next day
UP ARROW Selects the current day Moves selection one week back
DOWN ARROW Selects the current day Moves selection one week forward
PAGE UP Selects the current day Moves selection one month back
PAGE DOWN Selects the current day Moves selection one month forward
END Selects the last day of the current month Moves selection to the last day of the month
HOME Selects the first day of the current month Moves selection to the first day of the month
ENTER Applies changes Applies changes
ESC Cancels changes and closes the calendar Cancels changes and closes the calendar
See Also