Skip to main content

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