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

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