Articles in this section
Category / Section

How to hide the double click to all day event on day view in WinForms ScheduleControl?

1 min read

Hide the double-click event.


In
WinForms ScheduleControl to remove the Double Click to Add All Day Event button in Day view, set the row height of the first row of ScheduleControl to 1.


C#

this.scheduleControl1.ScheduleType =  ScheduleViewType.Day;          
scheduleControl1.DataSource = scheduleProvider;
SimpleScheduleDataProvider dataProvider = new SimpleScheduleDataProvider();
dataProvider.MasterList = SimpleScheduleDataProvider.InitializeRandomData();
scheduleControl1.DataSource = dataProvider;
this.scheduleControl1.GetScheduleHost().RowHeights[1] = 1;

VB

Me.scheduleControl1.ScheduleType = ScheduleViewType.Day
scheduleControl1.DataSource = scheduleProvider
Dim dataProvider As New SimpleScheduleDataProvider()
dataProvider.MasterList = SimpleScheduleDataProvider.InitializeRandomData()
scheduleControl1.DataSource = dataProvider
Me.scheduleControl1.GetScheduleHost().RowHeights(1) = 1

Hiding the double-click event in ScheduleControl

Show all day view in schedule control


Samples:

C#: Schedule Control_CS

VB: Schedule Control_VB

 

Conclusion

I hope you enjoyed learning about how to hide the double-click to all-day event on day view in ScheduleControl.

You can refer to our WinForms ScheduleControl feature tour page to learn about its other groundbreaking feature representations. You can explore our WinForms ScheduleControl documentation to understand how to present and manipulate data.

For current customers, you can check out our WinForms components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our WinForms ScheduleControl and other WinForms components.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our Support ForumDirect-Trac, or feedback portal. We are always happy to assist you! 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments
Please  to leave a comment
Access denied
Access denied