AutoArrangingMenuTests AddControlContentTwice Method Delta Engine Documentation

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

public void AddControlContentTwice()
Examples

[Test, CloseAfterFirstFrame]
public void AddControlContentTwice()
{
    var control = new TestControl();
    control.IsActive = false;
    Assert.AreEqual(false, control.IsActive);
    control.IsActive = true;
    Assert.AreEqual(false, control.IsActive);
}
See Also