Hi!
I use a DayViewStyle to simulate a schedule for a workweek. The border between the workdays is shifted for around 1/2 px depending on the workday. In search of a solution I looked into your WPF Samples Browser where I was able to identify the same bug in your presentation.
A possible solution for my project would be to use a margin, but I would have to get access to the private property DateTime of the DayViewTimeSlotArea. As for now I am clueless.
Is there another way around this bug or can you resolve it?
Greetings!
Hello Niels,
I have been investigating into the behavior you are seeing, and from your screenshot, I am under the impression that there is some theming applied in your scenario in this case. Can you please confirm or refute this so that I may be able to narrow down the root cause of this issue?
So far, I have been able to reproduce the behavior, but only with certain themes – namely Office2013 and RoyalDark. If you are not applying any theming, I would be curious if you are applying any styling of any type, as this may provide a hint to where this issue is coming from. Can you please provide some information the styling/theming that you are applying to see this behavior?
Please let me know if you have any other questions or concerns on this matter.
Hi Andrew,
The screenshot is from the WPF Samples Browser but I will attach another screenshot of my design. I use the ColorScheme Office2010. I also applied various Templates to alter the design, but I am not quite sure which one you would need to reproduce the error.
Would it be possible for you to please attach an isolated sample project demonstrating the issue you are seeing, or perhaps attach the styling you are using? I have tested this with the Office2010 theming, but as of yet, I have not reproduced the behavior.
It is worth noting that I have sporadically reproduced this with other themes, namely Office2013 and RoyalDark, but if you have your own style applied, this may help to narrow down the root cause of this misalignment issue.
Hello Andrew,
I use a lot of restyling and I'm not quite sure which part I should send you. Could you name the components needed for you to reproduce the error? In case you're wondering, I only altered the templates delivered in the generic.shared.xaml.
Any styling that you have applied relating to the XamSchedule-family of the controls could potentially be useful in this case. Altering the templates may be having a direct impact on the reproduction of this bug, as at the moment, I have only reproduced this with Office2013 and RoyalDark.
If you can provide an isolated sample that demonstrates this issue, that would be most helpful as well.