Share via


CalendarView.DayItemMargin Property

Definition

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.

Applies to