Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
141786 | Jan 4,2019 06:10 AM UTC | Jan 21,2019 08:46 AM UTC | Xamarin.Forms | 5 |
![]() |
Tags: SfCalendar |
[c#]
calendar.OnMonthCellLoaded += Calendar_OnMonthCellLoaded;
…
private void Calendar_OnMonthCellLoaded(object sender, MonthCellLoadedEventArgs e)
{
if (e.Date == new DateTime(2019, 1, 1))
{
e.BackgroundColor = Color.Red;
}
else if (e.Date == new DateTime(2019, 1, 6))
{
e.BackgroundColor = Color.Blue;
}
}
|
[c#]
calendar.OnYearCellLoaded += Calendar_OnYearCellLoaded;
}
private void Calendar_OnYearCellLoaded(object sender, YearCellLoadedEventArgs e)
{
e.View = customView;
}
|
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.
This page will automatically be redirected to the sign-in page in 10 seconds.