We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change Color of Band in Inline events

Thread ID:





126951 Oct 18,2016 10:08 AM UTC Oct 19,2016 05:14 AM UTC Xamarin.Forms 1
Tags: SfCalendar
Asked On October 18, 2016 10:08 AM UTC

Can I Know how to change Inline event color in the calendar which appears on the top left corner as a band shown in the image

Attachment: SyncfusionCalendar_d7fc3a14.zip

Hemalatha Marikumar [Syncfusion]
Replied On October 19, 2016 05:14 AM UTC

Hi Sandhya,

Thanks for contacting Syncfusion Support.

Query: How to change Inline event color in the calendar?

Using Color property in CalendarInlineEvent , we can change the color of inline event. Based on Start and end time difference, density of event’s color indication gets varied.

Code Example:

SfCalendar sfcalendar=new SfCalendar();
CalendarEventCollection collectioon = new CalendarEventCollection();

collectioon.Add(new CalendarInlineEvent()
Subject = "Meeting",
StartTime = new DateTime(2016, 10, 12, 4, 0, 0),
EndTime = new DateTime(2016, 10, 12, 6, 0, 0),
Color = Color.Blue
sfcalendar.DataSource = collectioon;

For more information, please visit our user documentation link

UG Link: https://help.syncfusion.com/xamarin/sfcalendar/create-appointments

Hemalatha M.R.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon