Namespace: DeltaEngine.Scenes.Controls
Assembly: DeltaEngine.Scenes (in DeltaEngine.Scenes.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Scenes.Tests.Controls.DropdownListTests
1 unit tests call DeltaEngine.Scenes.Controls.DropdownList.IsEnabled
Assembly: DeltaEngine.Scenes (in DeltaEngine.Scenes.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: BooleanRemarks
Examples
[Test, CloseAfterFirstFrame] public void WhenDisabledSelectionBoxIsHidden() { if (mouse == null) return; //ncrunch: no coverage Click(new Vector2D(0.5f, 0.31f)); dropdownList.IsEnabled = false; Assert.IsFalse(dropdownList.SelectBox.IsVisible); foreach (FontText text in dropdownList.SelectBox.texts) Assert.IsFalse(text.IsVisible); }
See Also