lilcodelab / Xamarin.Plugin.Calendar

Calendar plugin for Xamarin.Forms
MIT License
260 stars 60 forks source link

[Custom] Event Background Fill colors based on condition. dot colors is okay but background color need to fill #40

Closed harshalgr8 closed 4 years ago

harshalgr8 commented 4 years ago

Hi,

i liked the control and it full filing all the need most of we use.

i am looking for a way to show event fill color.

example. attendence days are events for me. and if present then that event day should be green and if absent then red.

i am looking for a way to fill event background color based on condition.

please guide me how to achive it.

Thanking You, Harshal

antonioseric commented 4 years ago

@harshalgr8 you can acheave that by crating custom Event control than you can add Background and bind it to your ViewModel

harshalgr8 commented 4 years ago

@harshalgr8 you can acheave that by crating custom Event control than you can add Background and bind it to your ViewModel

WhatsApp Image 2020-04-29 at 7 32 29 PM

hi i have used DayEventCollection to achive , dot color based on condition. but i am am not able to achieve background circle on event days. bigger circle look more better than small dot.

can you add one sample in your existing project, showing hot to achieve circle on events . i am new to xamarin , just learning how to use calender and i tried to change code, but not getting the result..

Thanking You, Harshal