Scrollbar ValueWidth 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 ValueWidth { get; set; }

Property Value

Type: Int32
Remarks

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

7 unit tests call DeltaEngine.Scenes.Controls.Scrollbar.ValueWidth
[Test, ApproveFirstFrameScreenshot]
public void RenderScrollbarZeroToOneHundredWithPointerWidthTwenty()
{
    scrollbar.ValueWidth = 20;
}
[Test]
public void RenderScrollbarWithValueWidthEqualingValues()
{
    scrollbar.MaxValue = 2;
    scrollbar.ValueWidth = 3;
}
[Test]
public void RenderScrollbarWithOneMoreValueThanValueWidth()
{
    scrollbar.MaxValue = 3;
    scrollbar.ValueWidth = 3;
}
See Also