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

[Test]
public void RenderSelectBoxAttachedToMouse()
{
    selectBox.Values = new List<object> { "value 1", "value 2", "value 3", "value 4" };
    new Command(
        point => selectBox.DrawArea = Rectangle.FromCenter(point, selectBox.DrawArea.Size)).Add(
            new MouseMovementTrigger());
}
See Also