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
30
Ultragantview calendar column s
posted

Hi 

i managed grid using:CType(Me.UltraGanttView1.[GetType]().GetField("grid", System.Reflection.BindingFlags.CreateInstance Or System.Reflection.BindingFlags.Instance Or System.Reflection.BindingFlags.NonPublic).GetValue(Me.UltraGanttView1), UltraGrid)

can i extract others element (such as scrollbar and calendar) ?

For example i want to resize by code column day width

Thanks

Parents
No Data
Reply
  • 34810
    Offline posted

    Hello Marco,

    I have been investigating into the source code of the UltraGanttView to see if there is anything that exposes the calendar area or the scrollbars, but it does not seem that this is the case. The scrollbars for the grid-portion are just part of the grid that you are already getting, and the timeline appears to be there via an internal interface ITimelineControl that the UltraGanttView derives from via a partial class.

    It is worth noting that many of the settings for the timeline are exposed publicly via the TImelineSettings property of the UltraGanttView, so perhaps that will help you?

    If you can provide further information on what you are looking to do with the calendar and scrollbar parts of the UltraGanttView, I may be able to help you to achieve that without actually getting the element itself?

    It is also worth noting that as long as you are registered to the Windows Forms product, we offer the source code for download through your account on the website, so you can view the UltraGanttView source code yourself if you would like.

    Please let me know if you have any other questions or concerns on this matter.

Children
No Data