DropdownListTests DefaultProperties 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 DefaultProperties()
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);
}
See Also