InteractiveButtonTests BeginningClickDoesNothingIfDisabled 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 BeginningClickDoesNothingIfDisabled()
Examples

[Test, CloseAfterFirstFrame]
public void BeginningClickDoesNothingIfDisabled()
{
    button.IsEnabled = false;
    SetMouseState(State.Pressing, Vector2D.Half);
    Assert.AreEqual(BaseSize.Width, button.Size.Width, 0.05f);
}
See Also