Hi Peter,
Thank you for contacting Syncfusion support.
We have checked with your query. Currently, schedule doesn’t support to hide the row which displays week in Month view. But, you can hide the next and previous month dates by customize the text color of date text in month cell using TextColor property of CellStyle inOnMonthCellLoadedEvent. Kindly refer the code snippet below.
Code snippet:
|
schedule.OnMonthCellLoadedEvent += Schedule_OnMonthCellLoadedEvent;
…
private void Schedule_OnMonthCellLoadedEvent(object sender, MonthCellLoadedEventArgs e)
{
if (e.isNextMonthDate || e.isPreviousMonthDate)
{
e.cellStyle = new CellStyle()
{
TextColor = Color.White,
BackgroundColor = Color.White,
};
}
} |
You can also refer our online User Guide Documentation by using the below link.
Regards,
Deivaselvan