Hi Rigoberto,
Thanks for using Syncfusion products.
In order to hide the "Double Click to Add All Day Event" button on the DayView, you can use the RowHeights property. Please refer to the below code example,
Code example
this.scheduleControl1.ScheduleType = ScheduleViewType.Day;
this.scheduleControl1.GetScheduleHost().RowHeights[1] = 1;
Screenshot
Note
Please make sure to set the RowHeight[1] property to 1 when you change the ScheduleView of the control to hide that button for every view update.
Regards,
Mohanraj G.
This is not working for me. I am adding a ScheduleControl dynamically at runtime and setting all its properties:
var scheduleControl1 = new Mastermind.Syncfusn.Schedule.CustomControls.Schedule();
scheduleControl1.SuspendLayout();
scheduleControl1.Appearance.VisualStyle = GridVisualStyles.Metro;
scheduleControl1.Appearance.ShowCaptionButtons = false;
scheduleControl1.NavigationPanel.Visible = false;
scheduleControl1.ShowRoundedCorners = true;
scheduleControl1.AllowAdjustAppointmentsWithMouse = false;
scheduleControl1.ScheduleType = viewType;
scheduleControl1.CaptionPanel.Visible = false;
scheduleControl1.SwitchToScheduleViewTypeDay(DateTime.Now.Date);
scheduleControl1.GetScheduleHost().RowHeights[1] = 1;
scheduleControl1.ResumeLayout(true);