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
2 unit tests call DeltaEngine.Scenes.Controls.DropdownList.MaxDisplayCount
Assembly: DeltaEngine.Scenes (in DeltaEngine.Scenes.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: Int32Remarks
Examples
[Test, CloseAfterFirstFrame] public void DefaultProperties() { Assert.AreEqual(Values, dropdownList.Values); Assert.AreEqual(Values[0], dropdownList.SelectedValue); Assert.AreEqual(Center, dropdownList.DrawArea); Assert.AreEqual(Color.Gray, dropdownList.Color); Assert.AreEqual(3, dropdownList.SelectBox.texts.Count); Assert.IsFalse(dropdownList.IsPauseable); Assert.AreEqual(3, dropdownList.MaxDisplayCount); }
[Test, CloseAfterFirstFrame] public void ChangeMaxDisplayCount() { dropdownList.MaxDisplayCount = 4; Assert.AreEqual(4, dropdownList.MaxDisplayCount); }
See Also