Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
405
Problem with DayView Header having random Height
posted

I have attached Form1.cs to this post.  This Csharp code represents a stripped down version of a problem I'm having with UltraDayView.

When I add an UltraDayView to a resizable Windows form, and set its fill mode to Dock, then I resize the Windows form, the UltraDayView resizes along with the Windows form.

Problem is, that when I resize the UltraDayView, the DayOfWeekHeader at the top randomly changes height.  This is the part that contains the display of the currently selected date.

What's the big deal, you might ask?  Well I'm trying to stick a Toolbar into this header area.  When the header randomly changes height to a height that is too short, my toolbar dangles off of it, overlapping the Owner's names.

I am comfortable with using a CreationFilter or a DrawFilter to combat this default behavior, but I just don't know how I can cause the DayOfWeekHeader to always have the same fixed Height (prefer 42 pixels).

To repro the issue, please create a new Windows Forms project, and remove the program.cs and Form1.cs that Visual Studio puts in by default.  Then, add my attached Form1.cs to the project.

You will need to add references to:

Infragistics2.Shared.v7.1

Infragistics2.Win.Misc.v7.1

Infragistics2.Win.UltraWinEditors.v7.1

Infragistics2.Win.UltraWinSchedule.v7.1

Infragistics2.Win.v7.1

You should be able to run the project with only my attached Form1.cs in the solution.  Then, when it is running, just resize the window to see how the DayOfWeekHeader randomly changes Height.

I have also tried this with Infragistics version 7.3 but am having the same bad luck with it.  Your help is greatly appreciated.