BaseSlider Set Method Delta Engine Documentation

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

public override sealed void Set(
	Object component
)
Remarks

Tests: DeltaEngine.Scenes.Tests.Controls.ScrollbarTests
Examples

1 unit tests call DeltaEngine.Scenes.Controls.BaseSlider.Set(System.Object)
[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