PercentageBarTests WhenOnlyOnePercentileColorStaysThatColor Method Delta Engine Documentation

Namespace: DeltaEngine.Scenes.Tests.Controls
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void WhenOnlyOnePercentileColorStaysThatColor()
Examples

[Test, CloseAfterFirstFrame]
public void WhenOnlyOnePercentileColorStaysThatColor()
{
    bar.PercentileColors = new[] { Color.Blue };
    bar.Value = 75;
    Assert.AreEqual(Color.Blue, bar.Color);
}
See Also