RadioDialogTests RenderRadioDialogWithThreeButtonsWithTheMiddleDisabled 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 RenderRadioDialogWithThreeButtonsWithTheMiddleDisabled()
Examples

[Test]
public void RenderRadioDialogWithThreeButtonsWithTheMiddleDisabled()
{
    var buttons = dialog.Get<List<RadioButton>>();
    buttons[1].IsEnabled = false;
    AdvanceTimeAndUpdateEntities();
    Assert.AreEqual(Color.Gray, buttons[0].Color);
    Assert.AreEqual(Color.DarkGray, buttons[1].Color);
}
See Also