Question
I use the following code to draw horizontal lines on the TimeItemArea.
private void gantt1_OnTimeItemAreaPaintBackground(OffscreenDraw aOffscreenDraw, OffscreenDrawArgs e)
{
for (int i = 0; i < gantt1.Grid.GridStructure.RootNodes.Count; i++)
{
Rectangle rect = gantt1.Grid.GridStructure.RootNodes[i].Rect();
Debug.Print(rect.Top.ToString() + " " + rect.Left.ToString());
e.G.DrawLine(new Pen(new SolidBrush(Color.DeepSkyBlue)), aOffscreenDraw.CalcLeft, rect.Top, aOffscreenDraw.CalcRight, rect.Top);
}
}
What event is fired when a user resizes the height of a grid row to update the lines?
Answer
Grid.OnRowResize, this event was introduced recently and is not currently in the help file.