DaySelectedBackgroundColor - Circle not Rendering
See original GitHub issueDescribe the bug
Hi there!
Thanks for all the work you put into XCalendar!
I think I might be experiencing a bug in setting the color value for the dot that indicates the currently selected date.
Looking at the Sample Code it looks to me like it should be set on the cx:DayView - where you assign it to a Color value.
I’ve done that like so:
<xc:DayView
...
SelectedBackgroundColor="{StaticResource DaySelectedBackgroundColor}"
...
>
</xc:DayView>
And then set the resource in App.xaml like
<Application.Resources>
...
<Color x:Key="DaySelectedBackgroundColor">Green</Color>
...
</Application.Resources>
However, the selected indicator still does not populate. Screenshot:

Are there other properties that I need to set to enable this feature?
Expected behavior
I would think there should be a green dot when selecting on a day.
Steps to reproduce OR link to code
I’ve uploaded my current code to this repo / branch
Xamarin Forms or .NET MAUI (If related to UI)
.NET MAUI
Additional context (Optional)
Device Info (Optional) Device Model: samsung galaxy s20 FE Android Version: 12, One UI version 4.1 IOS Version: Windows Version:
Issue Analytics
- State:
- Created 8 months ago
- Comments:6 (4 by maintainers)

Top Related StackOverflow Question
@johnyenter-briars I was opening the link through the Mobile app which kept leading me to the ‘master’ branch. The links work fine on PC.
Eventually I tried using a Calendar with
CalendarDayinstead ofEventDayand it worked.The
EventDayandEventclasses in the sample app (along with other classes) use thePropertyChanged.Fodynuget package to inject usage of theINotifyPropertyChangedinterface into the shorthand setter ({ get; set; }) by adding theAddINotifyPropertyChangedInterfaceattribute to the ‘BaseObservable’ classes which they inherit from.This package nor the attribute is present in the project and there was no replacement for its functionality. You will need to either implement the
INotifyPropertyChangedInterface manually, or install thePropertyChanged.Fodynuget package and re-add theAddINotifyPropertyChangedInterfaceattribute wherever it was removed.I implemented the interface manually into the
EventDayclass and everything seemed to work correctly.Thanks for using XCalendar
@ME-MarvinE Sorry, took me a while to find the time to implement your fix. It worked as expected.
Thank you so much! Closing the issue now.