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.HeaderPadding Property

Gets or sets the amount of space around the calendar header displaying the current month and year. This property is in effect for the Classic calendar view.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Description
Padding

A Padding structure that specifies the amount of space around the calendar header displaying the current month and year. The default is Padding(2,5,2,5).

#Remarks

When the Classic calendar view is applied (see CalendarControlBase.CalendarView), the HeaderPadding property allows you to specify the amount of space around the calendar header displaying the current month and year. See the figure below.

CalendarControl_HeaderPadding

See Also