DropdownListTests HidingDropdownListHidesEverything 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 HidingDropdownListHidesEverything()
Examples

[Test, CloseAfterFirstFrame]
public void HidingDropdownListHidesEverything()
{
    dropdownList.IsVisible = false;
    Assert.IsFalse(dropdownList.SelectBox.IsVisible);
    Assert.IsFalse(dropdownList.Get<FontText>().IsVisible);
    foreach (FontText text in dropdownList.SelectBox.texts)
        Assert.IsFalse(text.IsVisible);
}
See Also