We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Removing scrollbar in ScheduleControl

Thread ID:

Created:

Updated:

Platform:

Replies:

120924 Oct 28,2015 07:56 AM UTC Nov 10,2015 12:13 PM UTC Windows Forms 3
loading
Tags: ScheduleControl
k123
Asked On October 28, 2015 07:56 AM UTC

How do I remove the scrollbar in the ScheduleControl?
I've tried this but it didn't work:

scheduleControl1.AutoScroll = false;
scheduleControl1.VerticalScroll.Visible = false;
scheduleControl1.VerticalScroll.Enabled = false;
scheduleControl1.HorizontalScroll.Visible = false;
scheduleControl1.HorizontalScroll.Enabled = false;

Solai A L [Syncfusion]
Replied On October 29, 2015 11:59 AM UTC

Hi Customer,
Thank you for using Syncfusion products.

If you want to hide the scroll bar shown in grid inside the schedule, you need to access the grid as host and disable its scrollbar behavior. Please refer the below code example  and sample for reference.
Code Example :

private void dayToolStripMenuItem_Click(object sender, EventArgs e)

        {

            if (this.scheduleControl1.ScheduleType != ScheduleViewType.Day)

                this.scheduleControl1.PerformSwitchToScheduleViewTypeClick(ScheduleViewType.Day);


            this.scheduleControl1.GetScheduleHost().VScrollBar.Enabled = false;

            this.scheduleControl1.GetScheduleHost().VScrollBehavior = Syncfusion.Windows.Forms.Grid.GridScrollbarMode.Disabled;

        }

Sample : http://www.syncfusion.com/downloads/support/forum/120924/ze/CS1904074574

Note : If your requirement is different from this please let us know with a pictorial representation.

Regards,
Solai A L


k123
Replied On November 9, 2015 09:42 AM UTC

Thank you. That helped.

Christopher Issac Sunder K [Syncfusion]
Replied On November 10, 2015 12:13 PM UTC

Hi Customer,
 
Glad to hear that the issue resolved at your end. Please contact us if you have any queries.
 
Regards,
Christo

CONFIRMATION

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.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;