PercentageBarTests ChangeMaxWidth 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 ChangeMaxWidth()
Examples

[Test, CloseAfterFirstFrame]
public void ChangeMaxWidth()
{
    bar.MaxWidth = 0.6f;
    Assert.AreEqual(0.6f, bar.MaxWidth);
    Assert.AreEqual(0.6f, bar.DrawArea.Width);
}
See Also