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

[Test]
public void RenderDisabledScrollbar()
{
    scrollbar.IsEnabled = false;
    AdvanceTimeAndUpdateEntities();
    Assert.AreEqual(Color.DarkGray, scrollbar.Color);
    Assert.AreEqual(Color.Gray, scrollbar.Pointer.Color);
}
See Also