SelectBoxTests RenderSelectBoxWithTenValuesAndThreeLines 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 RenderSelectBoxWithTenValuesAndThreeLines()
Examples

[Test]
public void RenderSelectBoxWithTenValuesAndThreeLines()
{
    SetToTenValues();
    var text = new FontText(Font.Default, "", new Rectangle(0.4f, 0.7f, 0.2f, 0.1f));
    selectBox.LineClicked += lineNo => text.Text = selectBox.Values[lineNo] + " clicked";
}
See Also