ScrollbarTests DefaultValues 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 DefaultValues()
Examples

[Test, CloseAfterFirstFrame]
public void DefaultValues()
{
    Assert.AreEqual(0, scrollbar.MinValue);
    Assert.AreEqual(99, scrollbar.MaxValue);
    Assert.AreEqual(10, scrollbar.ValueWidth);
    Assert.AreEqual(90, scrollbar.LeftValue);
    Assert.AreEqual(95, scrollbar.CenterValue);
    Assert.AreEqual(99, scrollbar.RightValue);
}
See Also