SfScheduler MonthView not rendering correctly in stretched alignment

Hi,


I have a WPF Window with a frame displaying a page containing a SfScheduler control.


When I set the HorizontalAligment and verticalAlignment properties of the SfScheduler to anything but "Stretch" the control renders correctly at runtime but obviously smaller than the frame in which its "hosted". When I set the properties to stretch I can see the Header of the control stretches as well as the outside of the control but the part displaying the dates does not. Attached are images where I center both and then stretch both.


I will do another post with screenshots as Im getting "your input is too long" messages.


9 Replies

DS Danie Spreeth May 20, 2025 09:00 AM UTC

Centered:

Centered.jpg



DS Danie Spreeth May 20, 2025 09:01 AM UTC

Stretched:

Stretched.jpg



SR Sri Radhesh Nag Subash Sankar Syncfusion Team May 21, 2025 01:53 PM UTC

Hi Danie,


To better understand and assist you with your scenario, could you please let us know your exact requirement with the WPF SfScheduler? Understanding your use case will help us provide a better solution. Also, kindly share the following so we can explore a suitable solution:


1) The code snippet (XAML or C#) for the WPF scheduler.

2) Additionally, please share issue replication video


Regards,

Sri Radhesh Nag S



DS Danie Spreeth May 21, 2025 02:20 PM UTC

Hi

I included a zip file containing a simple solution replicating the issue exactly.

MainWindow contains a Frame. The Frame source is set to another WPF Page containing the SfScheduler. 

It renders with the same issues as with the solution where I ran into this issue.

Please let me know if you need any more info, but I am sure the zipped solution replicating the problem should be plenty.

Thanks

Danie.


Attachment: SFSchedulerTest_b5a0de4c.zip


SR Sri Radhesh Nag Subash Sankar Syncfusion Team May 22, 2025 01:48 PM UTC

Hi Danie,


# Regarding SfScheduler MonthView not rendering correctly in stretched alignment


We have checked, and we can replicate the reported issue from our end. We have logged an issue report for the same; we will fix this issue and include the issue fix in our weekly NuGet release update which is expected to be available by June 10, 2025. We appreciate your patience until then.


You can track the status of this report through the following feedback link: https://www.syncfusion.com/feedback/67782/sfscheduler-date-view-is-not-visible-when-dynamically-stretched-the-allignment


Note: The provided feedback link is private, and you need to log in to view this feedback.


Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


Regards,

Sri Radhesh Nag S



VO Vishal Omprasad Syncfusion Team June 18, 2025 01:52 PM UTC

Hi Danie,

We have fixed the issue “SfScheduler MonthView not rendering correctly in stretched alignment” in the WPF SfScheduler control from our end. Currently, the issue fix is in the testing phase, and we are also validating it across different layouts. Once the automation is ensured, we will include the issue fix in our weekly NuGet release update scheduled for July 01, 2025.

As of now, we have prepared a private patch (NuGet) that includes the fix and have attached it below for your reference.

Note:
Before installing the patch, please follow the below steps to remove the old cache NuGet and check your application with the provided NuGet:

  1. Uninstall the Syncfusion NuGet installed in your application.

  2. Clear your application NuGet cache referring the KB: How to clear NuGet cache?.

  3. Clean your application.

  4. When installing patch, install the dependency packages first (Syncfusion.Shared.WPF, Syncfusion.SfInput.WPF, Syncfusion.SfBusyIndicator.WPF, Syncfusion.SfSkinManager.WPF) from nuget.org.

  5. Then install the patch NuGet for the SfScheduler control (Syncfusion.SfScheduler.WPF).

  6. Check the reported problem.

Disclaimer:

Please note that the patch was prepared specifically for version 29.2.4. We will include the issue fix in our upcoming weekly NuGet release update. We will let you know once the NuGet release is rolled out and appreciate your patience until then.

Regards,
Vishal O.


Attachment: Syncfusion.SfScheduler.WPF_NuGet_29.2.4_d8e71d4d.zip


DS Danie Spreeth June 18, 2025 02:18 PM UTC

Hi,


I truly appreciate the response. I have however found a workaround for the problem - if I remove the scrollviewer in the parent window then everything renders perfect. I discovered this by accident after struggling for days to get a simple WPF Datagrid's columns to also render correctly. 


Thanks a million!

Danie Spreeth



AJ Arul Jenith Berkmans Syncfusion Team June 19, 2025 09:15 AM UTC

Hi Danie,

 

We're glad to hear that you've found an effective workaround. As mentioned previously, we will include the fix for this issue in our weekly NuGet release update scheduled for July 01, 2025.

 

In the meantime, you can continue using your workaround or apply our custom patch to resolve the issue until the official update is available.

 

Thank you for your feedback and patience.

 

Best regards,

Arul Jenith B.



KP Kamalesh Periyasamy Syncfusion Team July 2, 2025 06:48 AM UTC

Hi Danie,

We have fixed the reported issue and included the issue fix in our latest weekly NuGet release update version 30.1.38, which is available for download at 
nuget.org

Root Cause: The available measure size is smaller than the final arrange size when placed inside a ScrollViewer.

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you require any further assistance.

Regards,
Kamalesh P



Loader.
Up arrow icon