Skip to main content

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.1.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