Back to Devexpress

CalendarControlBase.MonthHeaderPadding Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-calendarcontrolbase-48c1d7c8.md

latest2.2 KB
Original Source

CalendarControlBase.MonthHeaderPadding Property

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

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
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

ShowMonthHeaders

ColumnCount

CalendarControlBase Class

CalendarControlBase Members

DevExpress.XtraEditors.Controls Namespace