Is it possible to do;
'e.Layout.EmptyRowSettings.ShowEmptyRows=True' in the grid section of the ganttview since this is derived from the ultragrid control and that property is already there.
I can't seem to find a way to initialise the base grid. It would be great if it is exposed.
imagehq said: I can't seem to find a way to initialise the base grid. It would be great if it is exposed.
Note that you can access the grid via reflection, although we obviously don't recommend doing so (since that defeats the purpose of hiding it in the first place). UltraGanttView exposes an internal property named 'Grid' which is of a type that derives from UltraGrid. You could use reflection to get a reference to this, which would enable you to bypass the WinGanttView public object model and set properties directly on the grid therein, although this would be an "at-your-own-risk" endeavor.
Also note that EmptyRowSettings is actually one of the properties that I believe will cause the control to not function properly.
I guess that answers my question. I think I will leave it alone if it may break. Is there a chance this feature may be added? I am trying to make my application very MS Project 2010 lookalike.
Thanks