共用方式為


CalendarView.DayItemMargin 屬性

定義

取得或設定一天專案外部周圍的空間量。

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

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

屬性值

一天專案外部周圍的空間量。

Windows 需求

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

適用於