CalendarView.FirstOfMonthLabelMargin Property


Gets or sets the amount of space around the first-of-month label.

 property Thickness FirstOfMonthLabelMargin { Thickness get(); void set(Thickness value); };
Thickness FirstOfMonthLabelMargin();

void FirstOfMonthLabelMargin(Thickness value);
public Thickness FirstOfMonthLabelMargin { get; set; }
var thickness = calendarView.firstOfMonthLabelMargin;
calendarView.firstOfMonthLabelMargin = thickness;
Public Property FirstOfMonthLabelMargin As Thickness
<CalendarView FirstOfMonthLabelMargin="uniform"/>
- or -
<CalendarView FirstOfMonthLabelMargin="left+right,top+bottom"/>
- or -
<CalendarView FirstOfMonthLabelMargin="left,top,right,bottom"/>

Property Value


The amount of space around the first-of-month label.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Applies to