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

[Test, CloseAfterFirstFrame]
public void ReEnableDialogEnablesAllButtons()
{
    dialog.IsEnabled = false;
    dialog.IsEnabled = true;
    var buttons = dialog.Get<List<RadioButton>>();
    foreach (RadioButton button in buttons)
        Assert.IsTrue(button.IsEnabled);
}
See Also