Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CalendarControlBase.MonthHeaderPadding Property

Gets or sets the padding around month names when several months are displayed simultaneously.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Layout")]
public Padding MonthHeaderPadding { get; set; }

#Property Value

Type Description
Padding

A Padding structure that specifies the padding around month names when several months are displayed simultaneously.

#Remarks

The MonthHeaderPadding property is useful when the calendar displays several months simultaneously (see CalendarControlBase.ColumnCount). If the CalendarControlBase.ShowMonthHeaders property is set to true, the month names are displayed for each month of the calendar. By default, the paddings around the month headers are determined based on the currently applied skin. The MonthHeaderPadding property allows you to specify a custom padding.

See Also