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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

In Scheduler, I want to increase the overall height of the left calendar when the scheduler's Form window opens.

Thread ID:

Created:

Updated:

Platform:

Replies:

146527 Aug 7,2019 07:12 AM UTC Aug 12,2019 06:20 AM UTC WinForms 7
loading
Tags: ScheduleControl
Smart law developer
Asked On August 7, 2019 07:12 AM UTC

In Scheduler, I want to increase the overall height of the left calendar when the scheduler's Form window opens. Thank you.

Attachment: schedule_cal_resizing_20190807_36447b3.rar

Jagadeesan Pichaimuthu [Syncfusion]
Replied On August 7, 2019 08:53 AM UTC

Hi Smart Law, 
 
Thanks for using Syncfusion product. 
 
You can able to achieve your requirement by enable the NavigationPanelFillWithCalendar property. This property will used to fill the calendar size based on the navigation panel size. Please refer the below code snippet for your reference. 
 
scheduleControl1.NavigationPanelFillWithCalendar = true; 
 
Please refer the below screen shot for your reference. 
 
 
 
Let us know whether this helps also if you need any further assistance on this. 
 
Regards, 
Jagadeesan 


Smart law developer
Replied On August 7, 2019 03:23 PM UTC

Thank you.
I solved it well.
One more thing, let me know if there is any way to set the height of the panel to a specific height.

Smart law developer
Replied On August 7, 2019 04:30 PM UTC

I found Calendar.Scale (1.0F, 0.7F) but when the date changes, it returns to its original state;

Jagadeesan Pichaimuthu [Syncfusion]
Replied On August 8, 2019 03:05 PM UTC

 
Hi Smart,  
 
Thanks for your update. 
 
Currently we are checking your requirement in our end, so we will update you the more details on August 9th, 2019. 
 
Regards, 
Jagadeesan 


Jagadeesan Pichaimuthu [Syncfusion]
Replied On August 9, 2019 09:15 AM UTC

Hi Smart, 
 
Thanks for your patience. 
 
We have analyzed your requirement to set the height of the navigation panel and it can be achieved by adjusting the sizes of the inner panel of the navigation panel. Please refer the below code snippet for your reference. Here inside the NavigationPanel, we have added the calendar control panel. So we first we need to adjust the calendar panel size and based on this we can adjust splitter(which is also inside the Navigation panel). 
 
// Set the calendar panel height 
var calendarPanel = this.scheduleControl1.NavigationPanel.Controls[1]; 
calendarPanel.Height = 500; 
 
// Based on the calendar panel height change the splitter location 
var splitterControl = this.scheduleControl1.NavigationPanel.Controls[0]; 
splitterControl.Location = new Point(0, 500); 
 
Please refer the below sample for your reference. 
 
Let us know whether this helps also if you need any further assistance on this. 
 
Regards, 
Jagadeesan 


Smart law developer
Replied On August 10, 2019 09:37 AM UTC

thank you for your example code.

Subburaj Pandian Veluchamy [Syncfusion]
Replied On August 12, 2019 06:20 AM UTC

Hi Smart, 

Thank you for the update. 

Please let us know, if you would require any further assistance. 
 
Regards,
Subburaj Pandian V  


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon