On a ZedGraph pane, it is possible to set a CurveItem as “selected”.
zedGraphControl.GraphPane.CurveList[0].IsSelected = true;
zedGraphControl.Refresh();
This will change its color to Color.Gray as far as I can see.
Is it possible to change this selected-state color?
I don’t know of such a property but you can accomplish this by manually overriding the MouseClick event of the ZedGraphControl and set the color of the “selected” CurveItem, something like:
UPDATE: Looking at the source code of http://www.opensourcejavaphp.net/csharp/zedgraph/Line.cs.html and http://www.opensourcejavaphp.net/csharp/zedgraph/Selection.cs.html it seems that Line.DrawCurve is using static property Selection.Line. Without modifying source it would be hard to change this behaviour.
Part of Line.cs:
Selection.cs: