How to change the selection shape in the WinUI CalendarDatePicker (SfCalendarDatePicker)
In the WinUI CalendarDatePicker, change the shape of date selection by using the SelectionShape property of the calendar date picker. The default value of the SelectionShape property is Circle.
XAML
<Window x:Class="SelectionShape.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:SelectionShape" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:calendar="using:Syncfusion.UI.Xaml.Calendar" xmlns:editors="using:Syncfusion.UI.Xaml.Editors"> <calendar:SfCalendarDatePicker x:Name="sfCalendarDatePicker" SelectionShape="Rectangle"/> </Window>
