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

[Test]
public void ChangingPointerChangesChild()
{
    var pointer = new Picture(new Theme(), new Theme().ScrollbarPointer, Rectangle.Unused);
    scrollbar.Set(pointer);
    Assert.AreEqual(pointer, scrollbar.children[0].Entity2D);
}
See Also