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. Image for the cookie policy date

How to change metro color scheme for ScheduleControl

Hi,

I would like to know how to change metro color scheme for ScheduleControl from my Current Metro Theme screenshot to the Intended Metro Result screenshot.

Regards,
Anton

Attachment: Screenshots_1150e471.rar

1 Reply

SR Sabaridass Ramamoorthy Syncfusion Team April 29, 2019 11:08 AM UTC

Hi Anton, 
 
Thank you for contacting Syncfusion Support. 
 
We have checked your requirement –“How to apply metro style based on intended schedule appearance” and we are sorry to inform you that your intended appearance are outdated and it had been available in our older versions. We have logged a defect report to remove the outdated contents from our UG location.  
 
As per the current behavior, we have enhanced the Metro style appearance in our Schedule control and it could not be customized in application level. You can set the Metro style for your schedule control using “VisualStyle” property and please find refer to following code example. 
 
#Form1.cs 
 
this.scheduleControl1.ScheduleType =  ScheduleViewType.Month;//ScheduleViewType.Day;//.WorkWeek;//.Week;//ScheduleViewType.WorkWeek;// ScheduleViewType.Day;//.WorkWeek; 
                     //set the data source 
                     this.scheduleControl1.DataSource = scheduleProvider; 
 
                     //subscribe to item click event 
                     this.scheduleControl1.ScheduleAppointmentClick += new ScheduleAppointmentClickEventHandler(scheduleControl1_ScheduleAppointmentClick); 
 
                     this.menuItem6.Popup += new EventHandler(menuItem6_Popup); 
 
            // display Office2007Blue look 
           //  this.scheduleControl1.Appearance.VisualStyle = GridVisualStyles.Office2007Silver; 
 
            this.scheduleControl1.Appearance.VisualStyle = Syncfusion.Windows.Forms.GridVisualStyles.Metro; 
 
            this.scheduleControl1.NavigationPanelFillWithCalendar = true; 
 
Kindly refer to the attached sample from the below location.  
 
Could you please check whether our updated Metro style appearance is Okay for you? If not, you can try with our existing Office visual styles available in Schedule control which are closer to your expected appearance. 
 
Regards, 
Sabaridass R 


Loader.
Live Chat Icon For mobile
Up arrow icon