AutoArrangingMenuTests ClearMenuOptionsLeavesOtherControlsAlone 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 ClearMenuOptionsLeavesOtherControlsAlone()
Examples

[Test, CloseAfterFirstFrame]
public void ClearMenuOptionsLeavesOtherControlsAlone()
{
    var logo = new Material(ShaderFlags.Position2DTextured, "DeltaEngineLogo");
    menu.Add(new Sprite(logo, Rectangle.One));
    menu.AddMenuOption(() => { });
See Also