TextBoxTests CheckRightKeys 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 CheckRightKeys()
Examples

[Test]
public void CheckRightKeys()
{
    var textBox = new TextBox(Rectangle.One, "test");
    textBox.IsEnabled = true;
    textBox.State.HasFocus = true;
    new Command(() => textBox.Text = keyboard.HandleInput(textBox.Text)).Add(
        new KeyTrigger(Key.None, State.Released));
}
See Also