Scrollbar RightValue Property Delta Engine Documentation

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

public int RightValue { get; }

Property Value

Type: Int32
Remarks

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

1 unit tests call DeltaEngine.Scenes.Controls.Scrollbar.RightValue
[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