GraphLineTests ChangeLineKey Method Delta Engine Documentation

Namespace: DeltaEngine.Rendering2D.Graphs.Tests
Assembly: DeltaEngine.Rendering2D.Graphs.Tests (in DeltaEngine.Rendering2D.Graphs.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void ChangeLineKey()
Examples

[Test, CloseAfterFirstFrame]
public void ChangeLineKey()
{
    var line = graph.CreateLine("ABC", Color.Blue);
    Assert.AreEqual("ABC", line.Key);
    line.Key = "DEF";
    Assert.AreEqual("DEF", line.Key);
}
See Also