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 中引入)

适用于