Dela via


CalendarView.CalendarItemCornerRadius Property

Definition

Gets or sets the radius for the corners of calendar item.

public:
 property CornerRadius CalendarItemCornerRadius { CornerRadius get(); void set(CornerRadius value); };
CornerRadius CalendarItemCornerRadius();

void CalendarItemCornerRadius(CornerRadius value);
public CornerRadius CalendarItemCornerRadius { get; set; }
var cornerRadius = calendarView.calendarItemCornerRadius;
calendarView.calendarItemCornerRadius = cornerRadius;
Public Property CalendarItemCornerRadius As CornerRadius
<CalendarView CalendarItemCornerRadius="uniformRadius"/>
- or -
<CalendarView CalendarItemCornerRadius="topLeft,topRight,bottomRight,bottomLeft"/>

Property Value

The degree to which the corners are rounded, expressed as values of the CornerRadius structure.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Remarks

Member components of a CornerRadius value cannot be negative.

Applies to