Articles in this section

How to change the selection highlight mode in the WinUI Calendar (SfCalendar)

In the WinUI Calendar (SfCalendar), you can highlight the selection by using the SelectionHighLightMode property of the calendar. By default, the calendar has an Outline highlight mode for selection.

XAML

<Window
    x:Class="SelectionHighLight.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SelectionHighLight"
    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">
 
    <Grid >
        <calendar:SfCalendar Name="Calendar" SelectionHighlightMode="Filled"/>
    </Grid>
</Window>

 

View sample in GitHub.

Calendar SelectionHightLightMode

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied