Share via


CalendarView.MonthYearItemMargin Property

Definition

Gets or sets the amount of space around the outside of a month or year item.

public:
 property Thickness MonthYearItemMargin { Thickness get(); void set(Thickness value); };
Thickness MonthYearItemMargin();

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

Property Value

The amount of space around the outside of a month or year item.

Windows requirements

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

Applies to