BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Thank you again for your reply Mr. / Ms. Rathanakumar S.
Really appreciate for the answer (selected date background color and Month title is already as I need) but i still have another question,
can I really remove the grid in the calendar and make the selected date background rounded exactly like example image in (http://imgur.com/ZjK4P7M) ?
Thank for your reply. I have already implemented the sample but I have another question.
How can we custom inline event cell if there's no appointment on that day (the one with "No Appointment" text and gray background color) ? (I need to change the background color and the text)
I already try some method using OnInlineLoaded event but still didn't get what i need. Really appreciate for another help.
Thank you very much for your help and fast assist.
void HandleSelectionEventHandler(object sender, SelectionChangedEventArgs args)
{
vm.Today = (sender as SfCalendar).SelectedDate.ToString("yy-MMM-dd ddd");
}
void HandleDrawInlineEventHandler(object sender, InlineEventArgs args)
{
if (args.appointments == null || args.appointments.Count == 0)
return; // Not applicable For spanning appointments (Started From Different Date)
TempCollection = GetSelectedDateAppointments(args.appointments[0].StartTime);
for (int i = 0; i < TempCollection.Count; i++)
{
vm.Collection.Add(new Model() { Subject = TempCollection[i].Subject, Start = TempCollection[i].StartTime.ToString("t"), End = TempCollection[i].EndTime.ToString("t"), Location = TempCollection[i].Location });
}
CustomInlineView inlineView = new CustomInlineView(this) { BindingContext = vm };
StackLayout stk = new StackLayout();
stk.HeightRequest = 150;
stk.Children.Add(inlineView);
args.View = stk;
}
|
private void Calendar_OnInlineLoaded(object sender, Syncfusion.SfCalendar.XForms.InlineEventArgs e)
{
var date = e.DateTime;
} |