Back to Devexpress

CalendarControlBase.HeaderPadding Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-calendarcontrolbase-a72a80a2.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Layout")]
public Padding HeaderPadding { get; set; }
vb
<DXCategory("Layout")>
Public Property HeaderPadding As Padding

Property Value

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

See Also

CalendarControlBase Class

CalendarControlBase Members

DevExpress.XtraEditors.Controls Namespace