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

[Test]
public void RenderSelectBoxWithThreeValuesAndThreeLines()
{
    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