Namespace: DeltaEngine.Scenes.Controls
Assembly: DeltaEngine.Scenes (in DeltaEngine.Scenes.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Scenes.Tests.Controls.ScrollbarTests
Tests: DeltaEngine.Scenes.Tests.Controls.SliderTests
1 unit tests call DeltaEngine.Scenes.Controls.BaseSlider.Update
1 unit tests call DeltaEngine.Scenes.Controls.BaseSlider.Update
Assembly: DeltaEngine.Scenes (in DeltaEngine.Scenes.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Implements
Updateable UpdateRemarks
Remarks
Examples
[Test, CloseAfterFirstFrame] public void UpdateValues() { scrollbar.MinValue = 1; scrollbar.MaxValue = 10; scrollbar.ValueWidth = 2; scrollbar.CenterValue = 4; Assert.AreEqual(1, scrollbar.MinValue); Assert.AreEqual(10, scrollbar.MaxValue); Assert.AreEqual(4, scrollbar.CenterValue); Assert.AreEqual(2, scrollbar.ValueWidth); }
Examples
[Test, CloseAfterFirstFrame] public void UpdateValues() { slider.MinValue = 1; slider.Value = 2; slider.MaxValue = 3; Assert.AreEqual(1, slider.MinValue); Assert.AreEqual(2, slider.Value); Assert.AreEqual(3, slider.MaxValue); }
See Also