共用方式為


CalendarView.MonthYearItemMargin 屬性

定義

取得或設定月份或年份專案外周圍的空間量。

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"/>
 

屬性值

月份或年份專案外周的空間量。

Windows 需求

裝置系列
Windows 11 (已於 10.0.22000.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v14.0 引進)

適用於