GraphTests ChangeKeyVisibility 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 ChangeKeyVisibility()
Examples

[Test, CloseAfterFirstFrame, Timeout(2000)]
public void ChangeKeyVisibility()
{
    graph.CreateLine("TestLine", Color.Red);
    graph.CreateLine("TestLine2", Color.Red);
    Assert.IsFalse(graph.KeyVisibility);
    graph.KeyVisibility = true;
    Assert.IsTrue(graph.KeyVisibility);
    graph.RefreshKey();

}
See Also