CalendarView.DayItemMargin Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the amount of space around the outside of a day item.
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"/>
Property Value
The amount of space around the outside of a day item.
Windows requirements
Device family |
Windows 11 (introduced in 10.0.22000.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v14.0)
|