We have facility hide/show GoListgroup in Graph Node through up image in Graph node.Graph Node appear like below:
Step1: Click the up image in graph node then hide GoListGroup in graph node,graph node appear like below:
Step2: Click the down Image in graph node then show GOListgroup in graph node,graph node appear like (Fig-1).
Step3: Peform undo operation,then graph node appear like this (Fig-2 )
Step4: Again Peform undo operation,then graph node appear like this (Fig-1).
Step 5:Click the up image in graph node then hide GoListGroup in graph node,graph node wii be appear like (Fig-2).But graph node appear Like
(Fig-1),means no effect on graph node.
Problem occures only that condition.
For Hide GoList Group, We used that Code:
ScrollingListGroup gList = this.ListGroup as ScrollingListGroup;
myListGroup = null;
For Show list Group,We Used that code:
private GoObject myListGroup;
myListGroup = gObj; myListGroup.Selectable = false; myListGroup.Editable = false; myListGroup.Location = new PointF(this.Label.Location.X, this.Label.Location.Y + this.NodeFigure.Height); Add(myListGroup);